Regarding your answer on the Jinn residing on earth before humans, you have alluded to a version recorded in Mustadrak Hakim.
Please mention this version.
The version recorded in Mustadrak Hakim is as follows:
Sayyiduna ‘Abdullah ibn ‘Abbas (radiyallahu ‘anhuma) said: “Allah Ta’ala removed Adam (‘alayhis salam) from Jannah before anyone entered. Allah Ta’ala mentions, ‘I am going to place a vicegerent on earth.’ They said, ‘Will you place there one who will make mischief and shed blood?’ The Jinn were there two thousand years prior and they spread corruption and shed blood. Thus, when Allah said, ‘I am going to place a vicegerent on earth, they replied, ‘Will you place there one who will make mischief and shed blood?’ -i.e. referring to the Jinn who had caused corruption before- When they had caused corruption on earth, [Allah] sent armies of angels who struck them and cast them away to islands. Therefore the angels said, ‘Will you place there one who will cause corruption just as those Jinn caused before’? Allah Ta’ala replied, ‘I Know what you know not.'”
(Mustadrak Hakim, vol. 2 pg. 261)
And Allah Ta’ala Knows best.
Answered by: Moulana Suhail Motala
Approved by: Moulana Muhammad Abasoomar