Sunan Ibn Majah, Book 5, Hadith 1006 (In-Book) ⓘ
It was narrated that Hasan Al-‘Urani said: ‘Mention was made in the presence of Ibn ‘Abbas about what severs the prayer. They mentioned a dog, a donkey and a woman. He said: ‘What do you say about kids (young goats)? The Messenger of Allah was performing prayer one day, when a kid came and wanted to pass in front of him. The Messenger of Allah preceded it toward the Qiblah. (to tighten the space and prevent it from passing in front of him).’”
حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ، أَنْبَأَنَا حَمَّادُ بْنُ زَيْدٍ، حَدَّثَنَا يَحْيَى أَبُو الْمُعَلَّى، عَنِ الْحَسَنِ الْعُرَنِيِّ، قَالَ ذُكِرَ عِنْدَ ابْنِ عَبَّاسٍ مَا يَقْطَعُ الصَّلاَةَ فَذَكَرُوا الْكَلْبَ وَالْحِمَارَ وَالْمَرْأَةَ فَقَالَ مَا تَقُولُونَ فِي الْجَدْىِ إِنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ كَانَ يُصَلِّي يَوْمًا فَذَهَبَ جَدْىٌ يَمُرُّ بَيْنَ يَدَيْهِ فَبَادَرَهُ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ الْقِبْلَةَ .
also referenced under: Hadith 953 (Reference) & Volume 2, Book 5, Hadith 953 (DarusSalam)