HAKIM 4546:
from al-Walīd b. ʿUqbah —
[Machine] "When the Messenger of Allah ﷺ conquered Mecca, the people of Mecca would bring their children to him, and he would wipe his hands over their heads and pray for them. My father took me to him, and I was very handsome in appearance. However, he did not wipe his hands on my head or touch me. The only reason for that was that my mother had created me in a different way. Ahmad ibn Hanbal said, 'It has been narrated that he embraced Islam on that day, but the Messenger of Allah ﷺ did not touch or pray for him. The appearance does not prevent prayer, and this is certainly true for a child in the action of someone else. However, he was prevented by the blessing of the Messenger of Allah ﷺ due to the previous knowledge that Allah the Almighty had regarding him. And Allah knows best.'"
الحاكم ٤٥٤٦:
عن الوليد بن عقبه —
«لَمَّا فَتَحَ رَسُولُ اللَّهِ ﷺ مَكَّةَ جَعَلَ أَهْلُ مَكَّةَ يَأْتُونَ بِصِبْيَانِهِمْ فَيَمْسَحُ رَسُولُ اللَّهِ ﷺ عَلَى رُءُوسِهِمْ وَيَدْعُو لَهُمْ فَخَرَجَ بِي أَبِي إِلَيْهِ وَإِنِّي مُطَيَّبٌ بِالْخَلُوقِ فَلَمْ يَمْسَحْ عَلَى رَأْسِي وَلَمْ يَمَسَّنِي وَلَمْ يَمْنَعْهُ مِنْ ذَلِكَ إِلَّا أَنَّ أُمِّي خَلَّقَتْنِي بِالْخَلُوقِ فَلَمْ يَمَسَّنِي مِنْ أَجْلِ الْخَلُوقِ» قَالَ أَحْمَدُ بْنُ حَنْبَلٍ «وَقَدْ رُوِيَ أَنَّهُ أَسْلَمَ يَوْمَئِذٍ فَتَقَذَّرَهُ رَسُولُ اللَّهِ ﷺ فَلَمْ يَمَسَّهُ وَلَمْ يَدْعُ لَهُ وَالْخَلُوقُ لَا يَمْنَعُ مِنَ الدُّعَاءِ لَا جُرْمَ أَيْضًا لِطِفْلٍ فِي فِعْلِ غَيْرِهِ لَكِنَّهُ مُنِعَ بَرَكَةَ رَسُولِ اللَّهِ ﷺ لِسَابِقِ عِلْمِ اللَّهِ تَعَالَى فِيهِ وَاللَّهُ أَعْلَمُ»
hadithunlocked.com