Sayyiduna al-Fadl bin Abbas (may Allah be pleased with them both) relates: Once we were in the open country, and the Messenger of Allah (peace and blessings be upon him) came to us along with Sayyiduna Abbas (may Allah be pleased with him). We had a small female dog and a she-donkey grazing. the Messenger of Allah (peace and blessings be upon him) prayed the Asr prayer while the two of them were moving about in front of him, and he neither moved them away nor scolded them.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3508