Sunan an-Nasai 17387
In-book no 2651أَخْبَرَنَا مَحْمُودُ بْنُ غَيْلاَنَ، قَالَ حَدَّثَنَا بِشْرُ بْنُ السَّرِيِّ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ مُحَمَّدِ بْنِ عُقْبَةَ، عَنْ كُرَيْبٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ رَفَعَتِ امْرَأَةٌ صَبِيًّا لَهَا مِنْ هَوْدَجٍ فَقَالَتْ يَا رَسُولَ اللَّهِ أَلِهَذَا حَجٌّ قَالَ " نَعَمْ وَلَكِ أَجْرٌ " .
It was narrated that Ibn 'Abbas said: "A woman lifted up a child of hers from a howdah (litter) and said: 'O Messenger of Allah, is there Hajj for this one?' He said: 'Yes, and you will be rewarded.'''(sahih)