Sahih Muslim , Book 15, Hadith 457 (In-Book)

Ibn Abbas reported that Allah's Apostle met some riders at al-Rauha and asked who they were. They replied that they were Muslims. They said: Who art thou? He said: (I am) Messengef of Allah. A woman (then) lifted up a boy to him and said: Would this child be credited with having performed the Hajj? Thereupon he said: Yes, and you will have a reward.

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَزُهَيْرُ بْنُ حَرْبٍ، وَابْنُ أَبِي عُمَرَ، جَمِيعًا عَنِ ابْنِ، عُيَيْنَةَ - قَالَ أَبُو بَكْرٍ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، - عَنْ إِبْرَاهِيمَ بْنِ عُقْبَةَ، عَنْ كُرَيْبٍ، مَوْلَى ابْنِ عَبَّاسٍ عَنِ ابْنِ عَبَّاسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم لَقِيَ رَكْبًا بِالرَّوْحَاءِ فَقَالَ ‏"‏ مَنِ الْقَوْمُ ‏"‏ ‏.‏ قَالُوا الْمُسْلِمُونَ ‏.‏ فَقَالُوا مَنْ أَنْتَ قَالَ ‏"‏ رَسُولُ اللَّهِ ‏"‏ ‏.‏ فَرَفَعَتْ إِلَيْهِ امْرَأَةٌ صَبِيًّا فَقَالَتْ أَلِهَذَا حَجٌّ قَالَ ‏"‏ نَعَمْ وَلَكِ أَجْرٌ ‏"‏ ‏.‏

sunnah.com