‘Ubada b. as-Samit reported God’s Messenger as saying, “Enforce God’s prescribed punishments on those who are near and those who are distant, and let no one’s blame come upon you regarding [the enforcement of] God’s [punishments]."
Ibn Majah transmitted it.