(38) باب فِي إِقَامَةِ الْحَدِّ فِي الْمَسْجِدِ
Narrated Hakim ibn Hizam:
The Messenger of Allah (ﷺ) forbade to take retaliation in the mosque, to recite verses in it and to inflict the prescribed punishments in it.
Reference: Sunan Abi Dawud 4490
In-book reference: Book 40, Hadith 140
English translation: Book 39, Hadith 4475