Numan bin Salim reported,

I heard Aws say, "I came to the Messenger of Allah ﷺ with the delegation of Thakeef. I was with him in a tent, and everyone in the tent fell asleep except for him and me. Then a man came and whispered to him."The Messenger of Allah ﷺ said, "Go and kill him."Then he asked, "Does he not bear witness that there is no god but Allah and that I am the Messenger of Allah?"The man replied, "He does bear witness to that."So the Messenger of Allah ﷺ said, "Leave him."Then he said, "I have been commanded to fight the people until they say there is no god but Allah. When they say it, their blood and property become inviolable, except by its right."Muhammad said, "I asked Shuba, 'Does the hadith not include the words, Does he not bear witness that there is no god but Allah and that I am the Messenger of Allah?'"He replied, "I think it is part of it, but I am not certain."

Nasai 3987

Sahih

أخبرنا محمد بن بشار قال حدثنا محمد قال حدثنا شعبة

عن النعمان بن سالم قال

سمعت أوسا يقول أتيت رسول الله ﷺ في وفد ثقيف فكنت معه في قبة فنام من كان في القبة غيري وغيره فجاء رجل فساره فقال اذهب فاقتله فقال أليس يشهد أن لا إله إلا الله وأني رسول الله قال يشهد فقال رسول الله ﷺ ذره ثم قال أمرت أن أقاتل الناس حتى يقولوا لا إله إلا الله فإذا قالوها حرمت دماؤهم وأموالهم إلا بحقها قال محمد فقلت لشعبة أليس في الحديث أليس يشهد أن لا إله إلا الله وأني رسول الله قال أظنها معها ولا أدري

النسائي 3987صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prohibition of bloodshed
Chapter
Prohibition of bloodshed
Numbering
Darussalam 3987
Nasai 3987