It is narrated from Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) that Sayyiduna As'ad bin Zurarah (may Allah be pleased with him) said: "O people, do you know on what you are pledging allegiance to Muhammad (peace and blessings be upon him)? You are pledging allegiance to him on the condition that you will fight the Arabs and the non-Arabs, the jinn and mankind." They said: "We are at war with whoever wages war, and at peace with whoever makes peace." Then they said: "O Messenger of Allah, state (your) conditions." He (peace and blessings be upon him) said: "You pledge allegiance to me on the condition that you bear witness that there is no deity worthy of worship except Allah and that I am the Messenger of Allah, that you establish the prayer, pay the zakah, listen and obey (the leader), that you do not dispute authority with those entitled to it, and that you protect me as you protect yourselves and your families."
No one narrated this hadith from Hammad bin Salamah except Bahz bin Asad, and Qutaybah bin Sa'id is alone in narrating it.
Hadith Referenceالمعجم الأوسط / باب العين / 4538
Hadith Gradingمحدثین:إسناده ضعيف لضعف علي بن زيد
Hadith Takhrij«قال الهيثمي: فيه علي بن زيد وهو ضعيف وقد وثق «مجمع الزوائد ومنبع الفوائد، ج 6، ص 49»»