Abdullah bin Umar reported,

Two men brought a dispute before the Prophet ﷺ. The Messenger of Allah ﷺ asked the claimant for evidence, but he had none, so he called upon the defendant to swear an oath. The man swore by Allah, besides whom there is no god.The Messenger of Allah ﷺ then said, "You did indeed do it, but you have been forgiven because of the sincerity with which you said, 'There is no god but Allah.'"

Ahmad 5380

Daif

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

أحمد 5380ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 5380
Ahmad 5380