عَنْ حَكِيمِ بْنِ حِزَامٍ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ لَا تُقَامُ الْحُدُودُ فِي الْمَسَاجِدِ وَلَا يُسْتَقَادُ فِيهَا
Narrated by Sayyiduna Hakim bin Hizam (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "No legal punishments should be carried out in the mosques, nor should retribution (qisas) be taken there."