Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:532Abū Zakariyyā b. Abū Isḥāq > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Baḥr b. Naṣr > Quriʾ > Ibn WahbḤaddathak Mūsá b. ʿAlī from his father > ʿAbdullāh b. Masʿūd

[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.  

البيهقي:٥٣٢وَأَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ نا بَحْرُ بْنُ نَصْرٍ قَالَ قُرِئَ عَلَى ابْنِ وَهْبٍ حَدَّثَكَ مُوسَى بْنُ عَلِيٍّ عَنْ أَبِيهِ عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ

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