Ubayy bin Kaab reported,

Naji reported that he had a storage pile of dates that kept decreasing. One night he stood guard over it, and suddenly there appeared a creature resembling a young man who had reached puberty. Naji greeted him with peace, and the creature returned the greeting.Naji asked, "What are you, a jinn or a human?"He replied, "A jinn."Naji said, "Give me your hand."So he extended his hand, and behold, it was the hand of a dog, and his hair was the hair of a dog.Naji said, "Is this how the jinn are created?"The jinn answered, "The jinn know that there is no man among them stronger than I."Naji asked, "What brought you here?"He replied, "We heard that you love giving charity, so we came to get some of your food."Naji asked, "What can protect us from you?"He said, "This verse in Surah al-Baqarah, 'Allah, there is no god but He, the Living, the Self-Sustaining' [Baqarah 2:255]. Whoever recites it in the evening is protected from us until morning, and whoever recites it in the morning is protected from us until evening."When morning came, Naji went to the Messenger of Allah ﷺ and told him what had happened. The Prophet ﷺ said, "The wicked one spoke the truth."

Azami 8238

Sahih

عن أبي بن كعب

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

الأعظمي 8238صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Beginning of creation
Section
Devil appearing in various forms
Numbering
Jami al-Kamil 8238 (2nd edition)