It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that when the Prophet (peace and blessings be upon him) passed by children, he would greet them with salam and pray for blessing for them.
Hadith Referenceالمعجم الأوسط / باب الميم / 5164
Hadith Gradingمحدثین:غير محفوظ، فيه الوليد بن محمد الموقري
Hadith Takhrij«قال ابن عدي: وللموقري غير ما ذكرت ومنها الحديث وكل أحاديثه غير محفوظة «الكامل في الضعفاء، ج 8، ص 352»» «أخرجه الطبراني فى «الأوسط» برقم: 7905»