‘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).’”
مَا تَقُولُونَ فِي الْجَدْىِ إِنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي يَوْمًا فَذَهَبَ جَدْىٌ يَمُرُّ بَيْنَ يَدَيْهِ فَبَادَرَهُ رَسُولُ اللَّهِ ﷺ الْقِبْلَةَ