Abu Umama told that God’s Messenger gave ‘Ali a youth and said, “Do not beat him, for I have been prohibited from beating people who observe the prayer, and I have seen him praying.” This is the wording in al-Masabih.
Hadith Referenceمشكوة المصابيح / كتاب النكاح / 3365
Hadith Gradingزبیر علی زئی:حسن
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «حسن، رواه البغوي في المصابيح (480/2 ح 2520) و أحمد (250/5، 258) و الطبراني (330/8ح8057)»