Sahih Muslim 1336 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَزُهَيْرُ بْنُ حَرْبٍ، وَابْنُ أَبِي عُمَرَ، جَمِيعًا عَنِ ابْنِ، عُيَيْنَةَ - قَالَ أَبُو بَكْرٍ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، - عَنْ إِبْرَاهِيمَ بْنِ عُقْبَةَ، عَنْ كُرَيْبٍ، مَوْلَى ابْنِ عَبَّاسٍ عَنِ ابْنِ عَبَّاسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم لَقِيَ رَكْبًا بِالرَّوْحَاءِ فَقَالَ مَنِ الْقَوْمُ " . قَالُوا الْمُسْلِمُونَ . فَقَالُوا مَنْ أَنْتَ قَالَ " رَسُولُ اللَّهِ " . فَرَفَعَتْ إِلَيْهِ امْرَأَةٌ صَبِيًّا فَقَالَتْ أَلِهَذَا حَجٌّ قَالَ " نَعَمْ وَلَكِ أَجْرٌ " ."
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 are you? 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.
Full reference and source
Sahih Muslim 1336 a In-book : Book 15, Hadith 457 USC-MSA web (English) : Book 7, Hadith 3091 (deprecated)
View source on Sunnah.com (opens in a new tab)