Sayyiduna Abdullah bin Salam (may Allah be pleased with him) narrates: "We were travelling with the Messenger of Allah (peace and blessings be upon him) when he (peace and blessings be upon him) heard the people saying: 'O Messenger of Allah, which deeds are the best?' So the Messenger of Allah (peace and blessings be upon him) said: 'Faith in Allah and His Messenger, jihad in the path of Allah, and an accepted Hajj (Hajj mabrur).'
Then he (peace and blessings be upon him) heard a call to prayer in the valley, saying: 'Ashhadu an la ilaha illallah, wa ashhadu anna Muhammadan rasulullah' (I bear witness that there is no god but Allah, and I bear witness that Muhammad (peace and blessings be upon him) is the Messenger of Allah). So the Messenger of Allah (peace and blessings be upon him) said: 'And I too bear witness.' Then he said: 'No one bears witness to these two things except that he becomes free of shirk.'"
Imam al-Tabarani (may Allah have mercy on him) said: "This hadith is narrated from Abdullah bin Salam (may Allah be pleased with him) only with this chain; Amr bin al-Harith (may Allah have mercy on him) is alone in narrating it."
Hadith Referenceالمعجم الأوسط / باب الميم / 8896
Hadith Takhrij«أخرجه ابن حبان فى «صحيحه» برقم: 4595، والضياء المقدسي فى «الأحاديث المختارة» برقم: 412، والنسائي فى «السنن الكبرى» برقم: 9784، وسعيد بن منصور فى «سننه» برقم: 2338، وأحمد فى «مسنده» برقم: 24306، والطبراني فى «الكبير» برقم: 14952»