On greeting children

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

136. Chapter: On greeting children

862. Anas said is that he passed by some children and greeted them, saying, "The Messenger of Allah, may Allah bless him and grant him peace, used to do that." [Agreed upon]