Sahih Muslim – Hadith No : 210

It is narrated on the authority of Jarir that he observed: I owed allegiance to the Apostle of Allah (may peace and blessings be upon him) on hearing ( is commands) and obeying (them) and the Prophet) instructed me (to act) as lay in my power, and sincerity and goodwill for every Muslim.

Hadith In Arabic Text :

حدثنا سريج بن يونس، ويعقوب الدورقي، قالا حدثنا هشيم، عن سيار، عن الشعبي، عن جرير، قال بايعت النبي صلى الله عليه وسلم على السمع والطاعة فلقنني ‏”‏ فيما استطعت ‏”‏ ‏.‏ والنصح لكل مسلم ‏.‏ قال يعقوب في روايته قال حدثنا سيار ‏.‏

Chapter : The Book of Faith – كتاب الإيمان