Sahih al-Bukhari, Book 54, Hadith 3 (In-Book) ⓘ
Narrated Jarir: When I gave the pledge of allegiance to Allah's Messenger and he stipulated that I should give good advice to every Muslim.
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا سُفْيَانُ، عَنْ زِيَادِ بْنِ عِلاَقَةَ، قَالَ سَمِعْتُ جَرِيرًا ـ رضى الله عنه ـ يَقُولُ بَايَعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَاشْتَرَطَ عَلَىَّ وَالنُّصْحِ لِكُلِّ مُسْلِمٍ.
also referenced under: Hadith 2714 (DarusSalam) & Volume 3, Book 50, Hadith 875 (USC-MSA)