The Messenger of Allah ﷺ said, "Narrate from the Children of Israil, there is no harm in it." He continued, "While a man was driving a cow, he became tired and rode upon it, and the cow turned to him..." and he mentioned the rest of the hadith.
حدثنا يزيد أخبرنا محمد عن أبي سلمة
قال رسول الله ﷺ حدثوا عن بني إسرائيل ولا حرج قال وبينما رجل يسوق بقرة فأعيا فركبها فالتفتت إليه فذكر الحديث