It is narrated from Abu Juhaifah (may Allah be pleased with him) that he said: "I saw the Messenger of Allah (ﷺ) at the place of Abtah (performing prayer). Bilal (may Allah be pleased with him) came with a spear and planted it, so the Prophet (ﷺ) performed prayer using it as a sutrah, while a dog, a woman, and a donkey would pass in front of him."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 183
Hadith Takhrijأخرجہ البخاری، الصلاۃ، باب الصلاۃ فی الثوب الاحمر: 376 ، 499 - ومسلم، الصلاۃ، باب سترۃ المصلی والندب الی الصلاۃ الی سترۃ والنہی عن المرور بین یدی المصلی... الخ: 503۔