The Messenger of Allah ﷺ led the morning prayer, then turned to face the people and said, "While a man was driving a cow, he climbed onto its back and struck it. The cow said, 'We were not created for this. We were only created for plowing.'"The people exclaimed, "Glory be to Allah! A cow that speaks?"He said, "I believe in this, and so do Abu Bakr and Umar," though neither of them was present at the time."And while a man was tending his sheep, a wolf attacked and carried off one of them. The man pursued the wolf until he managed to rescue the sheep. The wolf said to him, 'You have rescued it from me today, but who will protect it on the day of the wild beasts, the day when it will have no shepherd but me?'"The people exclaimed, "Glory be to Allah! A wolf that speaks?"He said, "I believe in this, and so do Abu Bakr and Umar," though neither of them was present at the time.
صلى رسول الله ﷺ صلاة الصبح، ثم أقبل على الناس فقال: بينا رجل يسوق بقرة إذ ركبها فضربها فقالت: إنا لم نخلق لهذا إنما خلقنا للحرث فقال الناس: سبحان الله بقرة تكلم فقال: فإني أومن بهذا أنا وأبو بكر وعمر وما هما ثم، وبينما رجل في غنمه إذ عدا الذئب فذهب منها بشاة فطلب حتى كأنه استنقذها منه فقال له الذئب: هذا استنقذتها مني فمن لها يوم السبع يوم لا راعي لها غيري؟ فقال الناس: سبحان الله ذئب يتكلم قال: فإني أومن بهذا أنا وأبو بكر وعمر وما هما ثم.
Bukhari narrated it in the chapters on the prophets (3471), and Muslim in the merits of the companions (2388), both through Sufyan bin Uyayna, who said, Abu Zinad narrated to us, from Aaraj, from Abu Salama, from Abu Hurairah, and he related it. It has other chains in both of their collections as well.