Abu Hurairah reported,

Abu Hurairah used to carry a water vessel for the Prophet ﷺ for his ablution and relieving himself. While he was following him with it, the Prophet ﷺ said, "Who is this?"He replied, "It is Abu Hurairah."The Prophet ﷺ said, "Find me some stones to clean myself with, but do not bring me a bone or dung."So I brought him stones, carrying them in the edge of my garment, and placed them beside him, then I went away. When he had finished, I walked along with him and asked, "What is the matter with bones and dung?"He answered, "They are food for the jinn. A delegation of the jinn of Nasibin came to me, and what excellent jinn they are. They asked me for provisions, so I prayed to Allah for them that they would not pass by a bone or a piece of dung without finding food on it."

Azami 14421

Sahih

عن أبي هريرة

أنه كان يحمل مع النبي ﷺ إداوة لوضوئه وحاجته، فبينما هو يتبعه بها، فقال: من هذا؟ فقال: أنا أبو هريرة، فقال: ابغني أحجارا استنفض بها، ولا تأتني بعظم ولا بروثة فأتيته بأحجار أحملها في طرف ثوبي، حتى وضعت إلى جنبه ثم انصرفت، تى إذا فرغ مشيت، فقلت: ما بال العظم والروثة؟ قال: هما من طعام الجن، وإنه أتاني وفد جن نصيبين، ونعم الجن، فسألوني الزاد، فدعوت الله لهم أن لا يمروا بعظم ولا بروثة إلا وجدوا عليها طعاما.

الأعظمي 14421صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of eating and drinking
Section
Bones and dung are from the food of the jinn
Numbering
Jami al-Kamil 14421 (2nd edition)
Azami 14421