The Book of Greetings

Riyad as-Salihin · Chapter 136

Greeting Children

باب السلام على الصبيان

Salam is not a courtesy reserved for the important or the grown. Here the Sunnah reaches down to the smallest members of the community, the children. To greet a child with peace is to treat them as someone worthy of being addressed, to teach the greeting by living it, and to plant gentleness in a heart while it is still soft.

Notice how the practice is preserved: a Companion greets children, then explains he is simply copying what the Messenger of Allah did. The lesson is that even our manners with the young are an act of following, not just kindness for its own sake.

Hadith 862

Anas (May Allah be pleased with him) reported that he passed by some children and greeted them. Then he said:

عن أنس رضي الله عنه أنه مر على صبيان، فسلم عليهم، وقال‏:‏ كان رسول الله صلى الله عليه وسلم يفعله” ‏(‏‏(‏متفق عليه‏)‏‏)‏

"Messenger of Allah (ﷺ) used to do the same." [Al-Bukhari and Muslim].

In plain words

A Companion greeted some children, then explained he did so because the Prophet used to greet children too. It teaches treating even the youngest as worthy of a greeting of peace.

Reference : Riyad as-Salihin 862 In-book reference : Book 5, Hadith 19