ENOfficial
Ibn Mas'ud reported God’s messenger as saying, “Do not cleanse yourselves with excrement or bones, for that is the provision of your brethren among the jinn.” Tirmidhi transmitted it, as also Nasa'i, but he did not mention “the provision of your brethren among the jinn.”
Source: sunnah.com
Other translations
Arabic
وَعَنِ ابْنِ مَسْعُودٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا تَسْتَنْجُوا بِالرَّوْثِ وَلَا بِالْعِظَامِ فَإِنَّهَا زَادُ إِخْوَانِكُمْ مِنَ الْجِنِّ» . رَوَاهُ التِّرْمِذِيُّ وَالنَّسَائِيُّ إِلَّا أَنَّهُ لَمْ يَذْكُرْ: «إخْوَانكُمْ من الْجِنّ»
sunnah.com