Jabir bin Abdullah reported,

In a long hadith describing the pilgrimage of the Prophet ﷺ, it is reported that the Prophet ﷺ said, "I have left among you that which, if you hold fast to it, you will never go astray after me, the Book of Allah. You will be questioned about me, so what will you say?"They replied, "We bear witness that you have conveyed the message, fulfilled your trust, and given sincere counsel." The hadith continues.

Azami 15638

Sahih

عن جابر بن عبد الله

في حديث طويل في صفة حجة النبي ﷺ جاء فيه: قال النبي ﷺ: وقد تركت فيكم ما لن تضلوا بعده إن اعتصمتم به: كتاب الله، وأنتم تسألون عني فما أنتم قائلون؟ قالوا: نشهد أنك قد بلغت وأديت ونصحت… الحديث.

الأعظمي 15638صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Holding fast to the Quran and the Sunnah
Chapter
Images and image-makers
Section
Obligation of adhering to the Book and the Sunnah
Numbering
Jami al-Kamil 15638 (2nd edition)
Azami 15638