Mishkat al-Masabih

Abu Huraira said: When a man who had drunk wine was brought to God’s Messenger he told us to beat him, and some struck him with their hands, some with their garments and some with their sandals. He then told them to reproach him, and they faced him and said, “You have not respected God, you have not feared God, and you have not shown shame before God’s Messenger.” But when some of the people said, “God put you to shame!” he told them not to say that and help the devil to get power over him, but to say, “O God, forgive him. O God show mercy to him.” Abu Dawud transmitted it.

وَعَنْ أَبِي هُرَيْرَةَ قَالَ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أُتِيَ بِرَجُلٍ قَدْ شربَ الخمرَ فَقَالَ: «اضْرِبُوهُ» فَمِنَّا الضَّارِبُ بِيَدِهِ وَالضَّارِبُ بِثَوْبِهِ وَالضَّارِبُ بِنَعْلِهِ ثُمَّ قَالَ: «بَكِّتُوهُ» فَأَقْبَلُوا عَلَيْهِ يَقُولُونَ: مَا اتَّقَيْتَ اللَّهَ مَا خَشِيتَ اللَّهَ وَمَا اسْتَحْيَيْتَ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ بَعْضُ الْقَوْمِ: أَخْزَاكَ اللَّهُ. قَالَ: " لَا تَقُولُوا هَكَذَا لَا تُعِينُوا عَلَيْهِ الشَّيْطَانَ وَلَكِنْ قُولُوا: اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ ارْحَمْهُ ". رَوَاهُ أَبُو دَاوُد