Sahih al-Bukhari 7204
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا هُشَيْمٌ، أَخْبَرَنَا سَيَّارٌ، عَنِ الشَّعْبِيِّ، عَنْ جَرِيرِ بْنِ عَبْدِ اللَّهِ، قَالَ بَايَعْتُ النَّبِيَّ صلى الله عليه وسلم عَلَى السَّمْعِ وَالطَّاعَةِ، فَلَقَّنَنِي، فِيمَا اسْتَطَعْتُ، وَالنُّصْحِ لِكُلِّ مُسْلِمٍ.
Narrated Jabir bin `Abdullah:
I gave the Pledge of allegiance to the Prophet (ﷺ) that I would listen and obey, and he told me to add: 'As much as I can, and will give good advice to every Muslim.'
Full reference and source
Sahih al-Bukhari 7204 In-book : Book 93, Hadith 64 USC-MSA web (English) : Vol. 9, Book 89, Hadith 311 (deprecated)
View source on Sunnah.com (opens in a new tab)