Uqba reported,

Uqba said to Hudhayfah, "Won't you tell us what you heard from the Prophet ﷺ?"He replied, "I heard him say, 'A man was approaching death, and when he had given up hope of life, he instructed his family, "When I die, gather a large amount of firewood for me and kindle a fire. When the flames have consumed my flesh and reached my bones, take the bones, grind them up, and scatter me in the sea on a hot or windy day." Allah then gathered him together and asked, "Why did you do this?" He answered, "Out of fear of You." So Allah forgave him.'"Uqba said, "And I too heard him say this."

Azami 160

Sahih

عن عقبة

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

الأعظمي 160صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Allah's mercy is greater than His punishment
Numbering
Jami al-Kamil 160 (2nd edition)
Azami 160