[Machine] The Messenger of Allah ﷺ prohibited using a bone, dung, or animal excrement for istinja. Ali ibn Rabah is reported to have heard it but there is weakness in the chain of narration, and Allah knows best. In this matter, there is also a narration from Abu Uthman ibn Sanaa al-Khuzai and Abdul Rahman ibn Rafi al-Tanukhi, both narrating from Ibn Masood, but neither of them mention the use of animal excrement.
أَنَّ رَسُولَ اللهِ ﷺ نَهَى أَنْ يُسْتَنْجَى بِعَظْمِ حَائِلٍ أَوْ رَوْثَةٍ أَوْ حُمَمَةٍ عَلِيُّ بْنُ رَبَاحٍ لَمْ يَثْبُتْ سَمَاعُهُ مِنِ ابْنِ مَسْعُودٍ وَالْأَوَّلُ إِسْنَادٌ شَامِيُّ غَيْرُ قَوِيٍّ وَاللهُ أَعْلَمُ وَفِي الْبَابِ عَنْ أَبِي عُثْمَانَ بْنِ سَنَةَ الْخُزَاعِيِّ وَعَبْدِ الرَّحْمَنِ بْنِ رَافِعٍ التَّنُوخِيِّ عَنِ ابْنِ مَسْعُودٍ إِلَّا أَنَّهُ لَيْسَ فِي رِوَايَتِهِمَا ذِكْرُ الْحُمَمَةِ