It was narrated by Abdullah bin Mas’ood (may Allah be pleased with him) that Prophet (pbuh) said,
“A caller from among the jinn came to me, and I went with him and recited Quran to them.”
He further narrates that the Prophet (peace be upon him) took them and showed them their footsteps and the traces of their fires. They had asked him for provision and he had prayed to Allah (Glorified and Exalted is He) and told them,
“You will have every bone over which the name of Allah has been mentioned; when it falls into your hands it will have plenty of meat on it. And all droppings are food for your animals.”
Then the Prophet (peace be upon him) said, “Do not use them (bones and dung) to clean yourselves after relieving yourselves, for they are the food of your brothers.” [Sahih Muslim]