When the delegation of Abdul-Qays came to the Messenger of Allah ﷺ, he commanded them to believe in Allah. He asked, "Do you know what belief in Allah is?"They replied, "Allah and His Messenger know best."He said, "It is to bear witness that there is no god but Allah and that Muhammad is the Messenger of Allah, to establish the prayer, to give the zakat, to fast Ramadan, and to give one-fifth of the war spoils."
حدثنا أحمد بن حنبل حدثني يحيى بن سعيد عن شعبة حدثني أبو جمرة قال سمعت
إن وفد عبد القيس لما قدموا على رسول الله ﷺ أمرهم بالإيمان بالله قال أتدرون ما الإيمان بالله قالوا الله ورسوله أعلم قال شهادة أن لا إله إلا الله وأن محمدا رسول الله وإقام الصلاة وإيتاء الزكاة وصوم رمضان وأن تعطوا الخمس من المغنم
[Sahih]. Previously mentioned, no. 3692. Bukhari narrated it in the Book of Faith, chapter on paying one-fifth being part of faith, no. 53, and Muslim narrated it in the Book of Faith, chapter on the command to believe in Allah and His Messenger, etc., no. 17, from the hadith of Shubah with this wording. It is also found in Musnad Ahmad, 1/228.