I gave the pledge of allegiance to the Prophet (ﷺ) for offering prayer perfectly, giving…

Sahih al-Bukhari Book 24 Hadith 6

Sahih al-Bukhari #1401

Obligatory Charity Tax (Zakat) 24:6

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.

Chapter: To give Bai'a (pledge) for paying Zakat

Grade: Sahih