أَخْبَرَنَا بِشْرُ بْنُ خَالِدٍ، قَالَ حَدَّثَنَا غُنْدَرٌ، عَنْ شُعْبَةَ، عَنْ سُلَيْمَانَ، عَنْ أَبِي وَائِلٍ، عَنْ جَرِيرٍ، قَالَ بَايَعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى إِقَامِ الصَّلاَةِ وَإِيتَاءِ الزَّكَاةِ وَالنُّصْحِ لِكُلِّ مُسْلِمٍ وَعَلَى فِرَاقِ الْمُشْرِكِ ‏.‏

It was narrated that Jarir said: I pledged to the Messenger of Allah (PBUH) to perform Salah, pay the Zakah, be sincere toward every Muslim and forsake the idolaters. Translation Not Available

Book Ref: Sunan An Nisai Book 39 Hadith 4175
Web Ref:  Sunan An Nisai Vol 1 Book 3 Hadith 4180