Sunan an-Nasa'i, Book 21, Hadith 263 (In-Book) ⓘ
It was narrated that Abu Hurairah said: "I heard the Messenger of Allah say: 'There was a man who wronged himself greatly, and when he was dying he said to his family: When I am dead, burn my body then grind my bones and scatter me in the wind and at sea, for by Allah, if Allah gets hold of me, he will punish me in a way that He will not punish anyone else. So his family did that, but Allah, the Mighty and Sublime, said to everything that had taken any part of him to give up what it had taken. Then there he was, standing Allah, the Mighty and Sublime, said: What made you do what you did? He said: Fear of You. So Allah forgave him."'
أَخْبَرَنَا كَثِيرُ بْنُ عُبَيْدٍ، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ، عَنِ الزُّبَيْدِيِّ، عَنِ الزُّهْرِيِّ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " أَسْرَفَ عَبْدٌ عَلَى نَفْسِهِ حَتَّى حَضَرَتْهُ الْوَفَاةُ قَالَ لأَهْلِهِ إِذَا أَنَا مُتُّ فَأَحْرِقُونِي ثُمَّ اسْحَقُونِي ثُمَّ اذْرُونِي فِي الرِّيحِ فِي الْبَحْرِ فَوَاللَّهِ لَئِنْ قَدَرَ اللَّهُ عَلَىَّ لَيُعَذِّبَنِّي عَذَابًا لاَ يُعَذِّبُهُ أَحَدًا مِنْ خَلْقِهِ قَالَ فَفَعَلَ أَهْلُهُ ذَلِكَ قَالَ اللَّهُ عَزَّ وَجَلَّ لِكُلِّ شَىْءٍ أَخَذَ مِنْهُ شَيْئًا أَدِّ مَا أَخَذْتَ فَإِذَا هُوَ قَائِمٌ قَالَ اللَّهُ عَزَّ وَجَلَّ مَا حَمَلَكَ عَلَى مَا صَنَعْتَ قَالَ خَشْيَتُكَ . فَغَفَرَ اللَّهُ لَهُ " .
also referenced under: Hadith 2079 (Reference) & Volume 3, Book 21, Hadith 2081 (DarusSalam)