(2) باب الْبَيْعَةِ عَلَى إِيتَاءِ الزَّكَاةِ
Narrated Jarir bin `Abdullah:
I gave the pledge of allegiance to the Prophet (ﷺ) for offering prayer perfectly, giving Zakat, and giving good advice to every Muslim.
Reference: Sahih al-Bukhari 1401
In-book reference: Book 24, Hadith 6
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 24, Hadith 484