Hadith #2336 (Sunan Ibn Majah) Book: The Chapters on Legal Punishments Narrator(s): Abd al-Mjyd bin Aby عبد المجيد بن أبي يزيد وهب العقيلي, al-'Ada' bin Khalid bin Hudhah, Muhammad bin Bashar Bindar محمد بن بشار بندار the Messenger of Allah (ﷺ) forbade lashing for the legal punishment in the mosques. Source: https://parallelquran.com/hadith/sunan-ibn-majah-2336/