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

Jarir said: "I came to the Prophet when he was accepting (the people's) pledge, and said: 'O Messenger of Allah, extend you hand so that I may give you my pledge, and state your terms, for you know best.' He said: 'I accept you pledge that you will worship Allah, establish Salah, pay the Zakah, be sincere toward the Muslims, and forsake the idolaters." Translation Not Available

Book Ref: Sunan An Nisai Book 39 Hadith 4177
Web Ref:  Sunan An Nisai Vol 5 Book 39 Hadith 4182