Jarir bin 'Abdullah (May Allah be pleased with him) reported:
I made my covenant with Messenger of Allah (ﷺ) on the observance of Salat, payment of Zakat, and giving counsel to Muslim."[Al-Bukhari and Muslim].
Arabic/English book reference: Book 1, Hadith 182