IBNMAJAH 953:
from Dhukir ʿInd Ibn ʿAbbās Mā Yaqṭaʿ al-Ṣalāh Fadhakarūā al-Kalb And al-Ḥimār Wa-al-Marʾah —
‘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).’”
ابن ماجة ٩٥٣:
عن ذكر عند ابن عباس ما يقطع الصلاه فذكروا الكلب و الحمار و-المرءه —
مَا تَقُولُونَ فِي الْجَدْىِ إِنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي يَوْمًا فَذَهَبَ جَدْىٌ يَمُرُّ بَيْنَ يَدَيْهِ فَبَادَرَهُ رَسُولُ اللَّهِ ﷺ الْقِبْلَةَ
hadithunlocked.com