Abu Hurairah reported,

The Prophet ﷺ said, "A man sinned excessively against himself. When death approached him, he instructed his sons, 'When I die, burn me, then grind me to dust, then scatter me in the wind over the sea. For by Allah, if my Lord gains power over me, He will punish me with a punishment He has never inflicted on anyone.'So they did exactly that to him. Then Allah said to the earth, 'Give back what you have taken,' and there he was, standing.Allah asked him, 'What drove you to do what you did?'He replied, 'Fear of You, my Lord,' or he said, 'Dread of You.'So Allah forgave him for that."

Ahmad 7647

Sahih

حدثنا عبد الرزاق حدثنا معمر قال قال لي الزهري ألا أحدثك بحديثين عجيبين قال الزهري عن حميد بن عبد الرحمن بن عوف

عن أبي هريرة

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

أحمد 7647صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 7647
Ahmad 7647