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.
ahmad:4535al-Walīd > Saʿīd b. ʿAbd al-ʿAzīz > Sulaymān b. Mūsá > Nāfiʿ a freed slave of Ibn ʿUmar > Ibn ʿUmar

[Machine] He heard the sound of a shepherd's flute, so he put his fingers in his ears and moved his ride away from the road while saying, "O Nafi', do you hear?" I said, "Yes." So he continued until I said, "No." Then he put his hands down and returned his ride to the road and said, "I saw the Messenger of Allah ﷺ and heard the sound of a shepherd's flute, so he did something similar."  

أحمد:٤٥٣٥حَدَّثَنَا الْوَلِيدُ حَدَّثَنَا سَعِيدُ بْنُ عَبْدِ الْعَزِيزِ عَنْ سُلَيْمَانَ بْنِ مُوسَى عَنْ نَافِعٍ مَوْلَى ابْنِ عُمَرَ أَنَّ ابْنَ عُمَرَ

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


See similar narrations below:

Collected by Aḥmad
ahmad:4965al-Walīd b. Muslim > Saʿīd b. ʿAbd al-ʿAzīz And Makhlad b. Yazīd > Saʿīd al-Maʿná > Sulaymān b. Mūsá > Nāfiʿ a freed slave of Ibn ʿUmar

[Machine] By the way, he said, "O Nafi', do you hear?" So I said, "Yes." He said, "Then he continued until I said no." He then placed his hands and returned the clothes to the road and said, "I saw the Messenger of Allah ﷺ and heard the sound of a shepherd." So he did something like this.  

أحمد:٤٩٦٥حَدَّثَنَا الْوَلِيدُ بْنُ مُسْلِمٍ حَدَّثَنَا سَعِيدُ بْنُ عَبْدِ الْعَزِيزِ وَمَخْلَدُ بْنُ يَزِيدَ أَخْبَرَنَا سَعِيدٌ الْمَعْنَى عَنْ سُلَيْمَانَ بْنِ مُوسَى عَنْ نَافِعٍ مَوْلَى ابْنِ عُمَرَ سَمِعَ ابْنُ عُمَرَ صَوْتَ زَمَّارَةِ رَاعٍ فَوَضَعَ إِصْبَعَيْهِ فِي أُذُنَيْهِ وَعَدَلَ رَاحِلَتَهُ

عَنِ الطَّرِيقِ وَهُوَ يَقُولُ يَا نَافِعُ أَتَسْمَعُ؟ فَأَقُولُ نَعَمْ قَالَ فَيَمْضِي حَتَّى قُلْتُ لَا قَالَ فَوَضَعَ يَدَيْهِ وَأَعَادَ الرَّاحِلَةَ إِلَى الطَّرِيقِ وَقَالَ رَأَيْتُ رَسُولَاللهِ ﷺ وَسَمِعَ صَوْتَ زَمَّارَةِ رَاعٍ فَصَنَعَ مِثْلَ هَذَا