The Prophet ﷺ answers a woman that she and her a child both are rewarded for Ḥajj
MUSLIM 1336a:
from Ibn ʿAbbās —
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.
مسلم ١٣٣٦a:
عن ابن عباس —
عَنِ النَّبِيِّ ﷺ لَقِيَ رَكْبًا بِالرَّوْحَاءِ فَقَالَ: «مَنِ الْقَوْمُ؟» قَالُوا: الْمُسْلِمُونَ، فَقَالُوا مَنْ أَنْتَ؟ قَالَ: «رَسُولُ اللَّهِ!» فَرَفَعَتْ إِلَيْهِ امْرَأَةٌ صَبِيًّا فَقَالَتْ: أَلِهَذَا حَجٌّ؟ قَالَ: «نَعَمْ، وَلَكِ أَجْرٌ۔»