All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Ibn Al-Qayyim has stated that this story is fabricated in his book Naqd Al-Manqool wal-Mihakk al-Mumayyiz bayna al-Mardood wal-Maqbool. Al-Aajurri also mentioned it in his book Tanzeeh Ash-Sharee’ah Al-Marfoo’ah ‘an Al-Ahaadeeth Ash-Shanee’ah Al-Mawdhoo’ah.
Besides, Shaykh Abu Taahir As-Silafi mentioned its chain of narrators in his book At-Tuyooriyyaat, and said: “Its chain of narrators is extremely weak.” Also, Ash-Shawkaani mentioned it in Al-Fawaa’id Al-Majmoo’ah fi Al-Ahaadeeth Al-Mawdhoo’ah, and he said: “It was narrated by Al-‘Uqayli from Ibn ‘Umar attributing it to the Prophet but it is fabricated and its chain of narrators include Is-haaq ibn Bishr Al-Kaahili who is a fabricator according to the agreement of the scholars. Al-‘Uqayli himself said: “It is a baseless Hadeeth, and the author of Al-Meezaan said that it is false.”
Also, As-Suyooti ruled it in Al-La'aali' Al-Masnoo’ah fi Al-Ahaadeeth Al-Mawdhoo’ah to be fabricated; and Ibn Al-Jawzi said in Al-Mawdhoo’aat: “It is fabricated without any doubt.”
Besides, Al-Haafith Ibn Hajar, in his book Al-Isaabah fi Tamyeez As-Sahaabah, wrote a biography for the narrator of the story of Haamah ibn Al-Haym and said: “Haamah ibn Al-Haym ibn Laqees ibn Iblees was mentioned by Ja’far Al-Mustaghfiri among the Companions (of the Prophet ) and said: ‘The chain of narrators of this Hadeeth narrated by him is not verified (not authentic).’ ”
However, he mentioned in his book Al-Fataawa Al-Hadeethiyyah that this story is reported by several chains of narrators that reach the degree of Hasan [Good].
As you see, most of the scholars of Hadeeth graded the mentioned story as fabricated, so is more likely to be false in terms of its chains of narrators.
Allaah Knows best.