وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ قَالَ رَجُلٌ لَمْ يَعْمَلْ حَسَنَةً قَطُّ لأَهْلِهِ إِذَا مَاتَ فَحَرِّقُوهُ ثُمَّ اذْرُوا نِصْفَهُ فِي الْبَرِّ وَنِصْفَهُ فِي الْبَحْرِ فَوَاللَّهِ لَئِنْ قَدَرَ اللَّهُ عَلَيْهِ لَيُعَذِّبَنَّهُ عَذَابًا لاَ يُعَذِّبُهُ أَحَدًا مِنَ الْعَالَمِينَ ‏.‏ فَلَمَّا مَاتَ الرَّجُلُ فَعَلُوا مَا أَمَرَهُمْ بِهِ فَأَمَرَ اللَّهُ الْبَرَّ فَجَمَعَ مَا فِيهِ وَأَمَرَ الْبَحْرَ فَجَمَعَ مَا فِيهِ ثُمَّ قَالَ لِمَ فَعَلْتَ هَذَا قَالَ مِنْ خَشْيَتِكَ يَا رَبِّ وَأَنْتَ أَعْلَمُ ‏.‏ قَالَ فَغَفَرَ لَهُ ‏"‏ ‏.‏

Yahya related to me from Malik from Abu'z Zinad from al-Araj fromAbu Hurayra that the Messenger of Allah, may Allah bless him and granthim peace, said, "A man said to his family that he had never done agood action, and that when he died they were to burn him and thenscatter half of him on the land and half of him on the sea, and byAllah, if Allah destined it for him He would punish him with apunishment which He had not punished anyone else with in all theworlds. When the man died, they did as he had told them. Then Allahtold the land to collect everything that was in it, and told the seato collect everything that was in it, and then He said to the man,'Why did you do this?' and he said, 'From fear of You, Lord, and Youknow best.' " Abu Hurayra added, "And He forgave him." Translation Not Available

Book Ref: Muwatta Imam Malik Book 16 Hadith 574
Web Ref:  Muwatta Imam Malik Book 16 Hadith 52