Abu Hurairah reported,

Thumama bin Uthal al-Hanafi went to a date palm grove near the mosque, performed a full bath, then entered the mosque and said, "I bear witness that there is no god but Allah alone, with no partner, and that Muhammad is His servant and messenger. Muhammad, by Allah, there was no face on earth more hateful to me than yours, but now your face has become the most beloved of all faces to me. Your cavalry captured me while I was intending to perform the lesser pilgrimage, so what do you advise?"The Messenger of Allah ﷺ gave him glad tidings and instructed him to perform the lesser pilgrimage. Abridged.

Nasai 189

Sahih

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

أبا هريرة يقول

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

النسائي 189صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Purification
Chapter
Performing ghusl before Islam when a disbeliever intends to embrace it
Numbering
Darussalam 189
Nasai 189