Muhammad bin Ubayy bin Ka'b (may Allah have mercy on him) narrates that his grandfather had a drying-floor of dates from which the dates kept decreasing. One night he guarded it, and suddenly he saw a creature like an animal. He greeted it with salam and it returned the greeting. He asked: "Are you a jinn or a human?" It replied: "I am a jinn." He said: "Show me your hand." He looked, and its hand was like a dog's hand, and on it was hair just like a dog's. He asked in astonishment: "Is this how the jinn are formed?" It said: "All the jinn know that there is none among them stronger than me." He asked: "What has urged you to come here?" It replied: "I learned that you love to give charity, so I thought I would get something from your produce." He asked: "What can save us from your evil?" It said: "This verse of Surah al-Baqarah: 'Allah - there is no god except Him, the Ever-Living, the Sustainer of all existence.' If you recite it in the morning, you will be protected from us until evening, and if you recite it in the evening, you will be safe from us until morning." When morning came, Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) went to the Prophet (peace and blessings be upon him) and told him (peace and blessings be upon him) the whole incident. He (peace and blessings be upon him) said: "The wicked one has spoken the truth."
Imam al-Nasa'i (may Allah have mercy on him) narrated it in 'Amal al-Yawm wa al-Laylah through the chain of Abu Dawud al-Harrani, Mu'adh bin Hani' and Harb bin Shaddad, with these same words "My grandfather had".
Also (Imam al-Nasa'i (may Allah have mercy on him) narrated it) through the chain of Ibrahim bin Ya'qub, al-Hasan bin Musa, Shayban, Yahya and al-Hadrami (may Allah have mercy on him) from Muhammad (may Allah have mercy on him) - and Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) was Muhammad's grandfather - who said: "Sayyiduna Ubayy (may Allah be pleased with him) had a drying-floor", then he mentioned a hadith like it.
Also (Imam al-Nasa'i (may Allah have mercy on him) narrated it) through the chain of Abd al-Hamid bin Sa'id, Mubashshir and al-Awza'i (may Allah have mercy on him), that Yahya bin Abi Kathir (may Allah have mercy on him) said: Ibn Ubayy narrated to me that his father (Sayyiduna Ubayy (may Allah be pleased with him)) informed him that they had a drying-floor (the complete hadith).
Al-Awza'i (may Allah have mercy on him) said "Ibn Ubayy" like this, but did not name him.
Al-Walid bin Mazyad (may Allah have mercy on him) also narrated it from al-Awza'i (may Allah have mercy on him) like this.
Imam Abu Hatim al-Busti (may Allah have mercy on him) narrated it through the chain of Ibn Salm, Abd al-Rahman bin Ibrahim, al-Walid and al-Awza'i, from Yahya bin Abi Kathir, from Ibn Ubayy bin Ka'b, from his father (Sayyiduna Ubayy (may Allah be pleased with him)),
and he mentioned (the son's) name as al-Tufayl.
The author says: In my view, this statement about the name is a mistake (wahm) on the part of Imam Abu Hatim bin Hibban (may Allah have mercy on him) - and Allah knows best - because we have not found this hadith narrated by al-Tufayl bin Ubayy from his father; rather, it is known only through the narration of Muhammad bin Ubayy.
However, we have also found in one narration the chain of Yahya bin Abi Kathir, Abdah bin Abi Lubabah, Abdullah bin Ubayy bin Ka'b and his father (Sayyiduna Ubayy (may Allah be pleased with him)), with the addition of the name of Abdah bin Abi Lubabah within the chain.
Imam al-Hakim (may Allah have mercy on him) narrated it in al-Mustadrak through the chain of Muhammad bin Salih bin Hani', Ibrahim bin Ishaq, Harun bin Abdullah, Abu Dawud al-Tayalisi, Harb bin Shaddad, Yahya bin Abi Kathir and al-Hadrami, that Muhammad bin Amr bin Ubayy bin Ka'b narrates from his grandfather (Sayyiduna Ubayy (may Allah be pleased with him)).
Imam al-Hakim (may Allah have mercy on him) said: "This hadith has an authentic chain (sahih al-isnad), though al-Bukhari and Muslim did not record it."
The author says: I have not seen this hadith in the Musnad of Abu Dawud al-Tayalisi.