[Machine] The Messenger of Allah, ﷺ , said, "Do not defile your dead, for a Muslim is not impure whether alive or dead." And it was narrated from another source that Ibn Uyaynah also said the same, and the widely accepted view is suspended.
قَالَ رَسُولُ اللهِ ﷺ لَا تُنَجِّسُوا مَوْتَاكُمْ فَإِنَّ الْمُسْلِمَ لَيْسَ بِنَجَسٍ حَيًّا وَلَا مَيِّتًا وَهَكَذَا رُوِيَ مِنْ وَجْهٍ آخَرَ غَرِيبٍ عَنِ ابْنِ عُيَيْنَةَ وَالْمَعْرُوفُ مَوْقُوفٌ