Abdullah bin Umar reported,

The Messenger of Allah ﷺ said to a man, "You did such and such."The man replied, "No, by the One besides whom there is no god, I did not do it."Then Jibreel عليه السلام said to him, "He did indeed do it, but he has been forgiven for saying, 'There is no god but Allah.'"Hammad said, Thabit did not hear this directly from Ibn Umar. There was another man between them.

Ahmad 5361

Daif

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

عن عبد الله بن عمر

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

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