مُسْنَدُ أَبِي مُحَمَّدٍ طَلْحَةَ بْنِ عُبَيْدِ اللَّهِ رَضِيَ اللَّهُ تَعَالَى عَنْهُ
6  
Musnad of Abu Muhammad Talhah bin 'Ubaidullah
Musnad Ahmad 1388
It was narrated from Moosa bin Talhah that his father said:
We used to pray with animals passing in front of us. We mentioned that to the Prophet (ﷺ) and he said: “If you put something the height of the back of a saddle in front of you, then it will not matter what passes beyond it.”
حَدَّثَنَا عُمَرُ بْنُ عُبَيْدٍ، عَنْ سِمَاكِ بْنِ حَرْبٍ، عَنْ مُوسَى بْنِ طَلْحَةَ، عَنْ أَبِيهِ، قَالَ كُنَّا نُصَلِّي وَالدَّوَابُّ تَمُرُّ بَيْنَ أَيْدِينَا فَذَكَرْنَا ذَلِكَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ مِثْلُ مُؤْخِرَةِ الرَّحْلِ تَكُونُ بَيْنَ يَدَيْ أَحَدِكُمْ ثُمَّ لَا يَضُرُّهُ مَا مَرَّ عَلَيْهِ وَقَالَ عُمَرُ مَرَّةً بَيْنَ يَدَيْهِ‏.‏
Grade: Hasan (Darussalam), Muslim (499)] (Darussalam)
Reference : Musnad Ahmad 1388
In-book reference : Book 6, Hadith 8