Khabab reported,

I was a blacksmith during the days of ignorance, and I had a debt owed to me by al-As bin Waail. I went to him to collect it, and he said, "I will not pay you until you reject Muhammad ﷺ."I replied, "By Allah, I will not reject him until Allah causes you to die and then resurrects you."He said, "Then leave me alone until I die and am resurrected, for I will be given wealth and children, and I will pay you back then."So this verse was revealed, "Have you seen the one who disbelieved in Our verses and said, 'I will surely be given wealth and children'?" [Maryam 19:77].

Bukhari 4734

Sahih

حدثنا بشر بن خالد حدثنا محمد بن جعفر حدثنا شعبة عن سليمان سمعت أبا الضحى يحدث عن مسروق

عن خباب قال

كنت قينا في الجاهلية وكان لي دين على العاص بن وائل قال فأتاه يتقاضاه فقال لا أعطيك حتى تكفر بمحمد ﷺ فقال والله لا أكفر حتى يميتك الله ثم يبعثك قال فذرني حتى أموت ثم أبعث فسوف أوتى مالا وولدا فأقضيك فنزلت هذه الآية {أفرأيت الذي كفر بآياتنا وقال لأوتين مالا وولدا}

البخاري 4734صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "Say, shall I inform you of the greatest losers in deeds?"
Numbering
Darussalam 4734
Bukhari 4734