While he was sitting with the Messenger of Allah ﷺ, and a man from the Jews was present, a funeral procession passed by. The Jew said, "Muhammad, does this corpse speak?"The Prophet ﷺ replied, "Allah knows best."The Jew said, "It does speak."The Messenger of Allah ﷺ then said, "Whatever the People of the Book tell you, neither believe them nor disbelieve them. Say, 'We believe in Allah and His messengers.' If it is false, you will not have confirmed it, and if it is true, you will not have denied it."
أنه بينما هو جالس عند رسول الله ﷺ، وعنده رجل من اليهود، مر بجنازة، فقال: يا محمد، هل تتكلم هذه الجنازة؟ فقال النبي ﷺ: الله أعلم. قال اليهودي: إنها تتكلم. فقال رسول الله ﷺ: ما حدثكم أهل الكتاب فلا تصدقوهم ولا تكذبوهم، وقولوا: آمنا بالله ورسله، فإن كان باطلا لم تصدقوه، وإن كان حقا لم تكذبوه.
Reported by Abu Dawud (3644), Ahmad (17225), and Ibn Hibban (6257), all of them by way of Zuhri, who said, Ibn Abu Namlah informed me that Abu Namlah Ansari informed him, and so he related it. Ibn Abu Namlah's name was Namlah. I have not found anyone who mentioned him with criticism or endorsement, except that Ibn Hibban mentioned him in his book Thiqaat. A group of narrators transmitted from him. Hafiz graded this hadith of his hasan in Fath al-Bari (13/334).