(1) باب مَا يَجُوزُ مِنَ الشُّرُوطِ فِي الإِسْلاَمِ وَالأَحْكَامِ وَالْمُبَايَعَةِ
Narrated Jabir bin `Abdullah:
I gave the pledge of allegiance to Allah's Messenger (ﷺ) for offering the prayers perfectly paying the Zakat and giving good advice to every Muslim.
Reference: Sahih al-Bukhari 2715
In-book reference: Book 54, Hadith 4
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 50, Hadith 876