Ali bin Abu Talib reported,

With this account, he said, Hatib set out and wrote to the people of Mecca that Muhammad ﷺ had marched against them.In it he said, she said, "I have no letter with me." So we searched her, but found no letter on her.Ali said, "By the One in whose name oaths are sworn, either I will kill you or you will produce the letter."And he continued the hadith.

Abu Dawud 2651

Sahih

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

عن علي

بهذه القصة قال انطلق حاطب فكتب إلى أهل مكة أن محمدا ﷺ قد سار إليكم وقال فيه قالت ما معي كتاب فانتحيناها فما وجدنا معها كتابا فقال علي والذي يحلف به لأقتلنك أو لتخرجن الكتاب وساق الحديث

أبو داود 2651صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Jihad
Chapter
Ruling on the spy if he is a Muslim
Numbering
Darussalam 2651
Abu Dawud 2651