Children would be brought to the Messenger of Allah ﷺ, and he would invoke blessings upon them and perform the tahnik for them.
حدثنا أبو بكر بن أبي شيبة حدثنا عبد الله بن نمير حدثنا هشام يعني ابن عروة عن أبيه
أن رسول الله ﷺ كان يؤتى بالصبيان فيبرك عليهم ويحنكهم