Abu Rafi reported,

And someone else traced it back to the Prophet, who said, "I must not find any of you reclining on his couch, when a matter I have commanded or forbidden reaches him, saying, 'I do not know. Whatever we find in the Book of Allah, we follow it.'"

Tirmidhi 2663

Sahih

حدثنا قتيبة حدثنا سفيان بن عيينة عن محمد بن المنكدر وسالم أبي النضر عن عبيد الله بن أبي رافع

عن أبي رافع

وغيره رفعه قال لا ألفين أحدكم متكئا على أريكته يأتيه أمر مما أمرت به أو نهيت عنه فيقول لا أدري ما وجدنا في كتاب الله اتبعناه

الترمذي 2663صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Knowledge
Chapter
What is forbidden to say when the hadith of the Prophet ﷺ is mentioned
Numbering
Darussalam 2663
Tirmidhi 2663