(1) باب مَا يَجُوزُ مِنَ الشُّرُوطِ فِي الإِسْلاَمِ وَالأَحْكَامِ وَالْمُبَايَعَةِ
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.
Reference: Sahih al-Bukhari 2714
In-book reference: Book 54, Hadith 3
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 50, Hadith 875