Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:9702Abū Muḥammad ʿAbdullāh b. Yūsuf Imlāʾ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Mālik > Ibrāhīm b. ʿUqbah > Kurayb a freed slave of Ibn ʿAbbās > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ passed by a woman while she was holding a child. It was said to her, "This is the Messenger of Allah ﷺ ." So she took hold of the child's arm and said, "Is this a pilgrimage?" He ﷺ replied, "Yes, and you will receive the same reward."  

البيهقي:٩٧٠٢حَدَّثَنَا أَبُو مُحَمَّدٍ عَبْدُ اللهِ بْنُ يُوسُفَ إِمْلَاءً ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكٌ عَنْ إِبْرَاهِيمَ بْنِ عُقْبَةَ عَنْ كُرَيْبٍ مَوْلَى ابْنِ عَبَّاسٍ عَنِ ابْنِ عَبَّاسٍ ؓ

أَنَّ رَسُولَ اللهِ ﷺ مَرَّ بِامْرَأَةٍ وَهِيَ فِي مِحَفَّتِهَا فَقِيلَ لَهَا هَذَا رَسُولُ اللهِ ﷺ فَأَخَذَتْ بِعَضُدِ صَبِيٍّ كَانَ مَعَهَا فَقَالَتْ أَلِهَذَا حَجٌّ فَقَالَ نَعَمْ وَلَكِ أَجْرٌ هَكَذَا  

رَوَاهُ الرَّبِيعُ عَنِ الشَّافِعِيِّ مَوْصُولًا وَكَذَلِكَ رُوِيَ عَنْ أَبِي مُصْعَبٍ عَنْ مَالِكٍ وَرَوَاهُ الزَّعْفَرَانِيُّ فِي كِتَابِ الْقَدِيمِ عَنِ الشَّافِعِيِّ مُنْقَطِعًا دُونَ ذِكْرِ ابْنِ عَبَّاسٍ فِيهِ وَكَذَلِكَ رَوَاهُ يَحْيَى بْنُ بُكَيْرٍ وَغَيْرُهُ عَنْ مَالِكٍ مُنْقَطِعًا وَكَذَلِكَ رَوَاهُ يَحْيَى بْنُ سَعِيدٍ الْقَطَّانُ وَعَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ عَنْ سُفْيَانَ الثَّوْرِيِّ عَنْ إِبْرَاهِيمَ بْنِ عُقْبَةَ مُنْقَطِعًا وَرَوَاهُ أَبُو نُعَيْمٍ عَنْ سُفْيَانَ مَوْصُولًا

See similar narrations below:

Collected by Mālik
malik:20-256Mālik > Ibrāhīm b. ʿUqbah > Kurayb a freed slave of ʿAbdullāh b. ʿAbbās

Yahya related to me from Malik from Ibrahim ibn Uqba from Kurayb the mawla of Abdullah ibn Abbas from Ibn Abbas that the Messenger of Allah ﷺ passed a woman in a litter and it was said to her, "This is the Messenger of Allah ﷺ" and she took the forearms of a young boy who was with her and said, "Does this one have a hajj, Messenger of Allah?" and he said, "Yes, and you have a reward."  

مالك:٢٠-٢٥٦وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ إِبْرَاهِيمَ بْنِ عُقْبَةَ عَنْ كُرَيْبٍ مَوْلَى عَبْدِ اللَّهِ بْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللَّهِ ﷺ مَرَّ بِامْرَأَةٍ وَهِيَ فِي مِحَفَّتِهَا فَقِيلَ لَهَا هَذَا رَسُولُ اللَّهِ ﷺ فَأَخَذَتْ بِضَبْعَىْ صَبِيٍّ كَانَ مَعَهَا فَقَالَتْ أَلِهَذَا حَجٌّ يَا رَسُولَ اللَّهِ قَالَ نَعَمْ وَلَكِ أَجْرٌ