Sahih Bukhari Volume 002, Book 024, Hadith Number 484.

Narated By 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.