Amr bin Shu'aib narrated from his father, from his grandfather, that:the Messenger of Allah (ﷺ) forbade lashing for the legal punishment in the mosques
Hadith No. 2600
Sunan Ibn Majah
Gradings:
Al-Albani:
Hasan
Muhammad Fouad Abd al-Baqi:
Hasan
Shuaib Al Arnaut:
Daif
Zubair Ali Zai:
Daif