Mishkat al-Masabih
Mishkat al-Masabih 3365
Arabic hadith text
أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم وَهَبَ لِعَلِيٍّ غُلَامًا فَقَالَ: «لَا تَضْرِبْهُ فَإِنِّي نُهِيتُ عَنْ ضَرْبِ أَهْلِ الصَّلَاةِ وَقَدْ رَأَيْتُهُ يُصَلِّي» . هَذَا لفظ المصابيح
Translation
The Messenger of God gave Ali a young servant and said: ‘Do not strike him, for I have been forbidden to strike those who pray, and I have seen him praying.’ This is the wording of al-Masabih.