Awf bin Malik reported,

We were with the Messenger of Allah ﷺ when he said, "Will you not pledge allegiance to the Messenger of Allah ﷺ?" He repeated this three times, so we extended our hands and pledged allegiance to him.We said, "Messenger of Allah, we have pledged allegiance to you, but on what terms?"He replied, "That you worship Allah and associate nothing with Him, and that you observe the five prayers." Then he whispered a quiet word, "And that you do not ask people for anything."

Nasai 461

Sahih

أخبرنا عمرو بن منصور قال حدثنا أبو مسهر قال حدثنا سعيد بن عبد العزيز عن ربيعة بن يزيد عن أبي إدريس الخولاني عن أبي مسلم الخولاني قال أخبرني الحبيب الأمين

عوف بن مالك الأشجعي قال

كنا عند رسول الله ﷺ فقال ألا تبايعون رسول الله ﷺ فرددها ثلاث مرات فقدمنا أيدينا فبايعناه فقلنا يا رسول الله قد بايعناك فعلام قال على أن تعبدوا الله ولا تشركوا به شيئا والصلوات الخمس وأسر كلمة خفية أن لا تسألوا الناس شيئا

النسائي 461صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prayer
Chapter
Pledge upon the five prayers
Numbering
Darussalam 461
Nasai 461