Sayar reported,

I was walking with Thabit Bunani when he passed by some boys and greeted them. Thabit related that he had been walking with Anas when he passed by some boys and greeted them, and Anas related that he had been walking with the Messenger of Allah ﷺ when he passed by some boys and greeted them.

Azami 14231

Sahih

عن سيار، قال

كنت أمشي مع ثابت البناني، فمر بصبيان فسلم عليهم، وحدث ثابت أنه كان يمشي مع أنس، فمر بصبيان فسلم عليهم، وحدث أنس أنه كان يمشي مع رسول الله ﷺ فمر بصبيان فسلم عليهم.

الأعظمي 14231صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of seeking permission and greetings
Section
Peace upon children
Numbering
Jami al-Kamil 14231 (2nd edition)
Azami 14231