Qatadah said: It was because he was impressed by its description when the hoopoe described it, and he wished to see it. (1) Ibn Zayd said: He wished to have it altered and changed in order to test her intelligence thereby. (2)
“A powerful ifrit (a mighty jinn) said, ‘I will bring it to you before you rise from your seat, for I am surely strong and trustworthy enough to do so.’ (39) The one who had knowledge from the Book said, ‘I will bring it to you before your glance returns to you.’ Then, when he saw it settled before him, he said, ‘This is by the grace of my Lord, to test me whether I will be grateful or ungrateful. Whoever is grateful is grateful only for his own benefit, and whoever is ungrateful—then indeed, my Lord is Self-Sufficient, Most Generous.’ (40)
“An ifrit from among the jinn” is a powerful and rebellious one. Wahb said: His name was Kudhiya. (3) It was also said: Dhakwan. Ibn Abbas said: An ifrit is one who is shrewd. Al-Dahhak said: He is wicked. Al-Rabi said: He is coarse. Al-Farra said: He is strong and fierce. It was also said that he was Sakhr, a jinn, and that he was as large as a mountain, setting his foot where his sight reached its furthest limit. “I will bring it to you before you rise from your seat,” that is, from the assembly in which you judge. Ibn Abbas said: Every morning, he held an assembly in which he judged (4) until the end of the day. “And I am surely strong and trustworthy enough to do so,” that is, strong enough to carry it and trustworthy regarding the jewels it contained.
Solomon said, “I want someone faster than this.” So “the one who had knowledge from the Book” said this. 57/b They differed concerning his identity. Some said (5) that he was Gabriel. It was also said that he was an angel through whom Allah supported His Prophet Solomon, peace be upon him. Most exegetes said that he was Asaf ibn Barkhiya, a righteous and truthful man who knew the Greatest Name of Allah: when Allah is invoked by it, He answers, and when He is asked by it, He grants.
Juwaybir and Muqatil narrated from Al-Dahhak, from Ibn Abbas, that Asaf said to Solomon after he had prayed, “Extend your eyes until your sight reaches its furthest limit.” Solomon extended his eyes and looked toward the right. Asaf then supplicated, and Allah sent the angels, who carried the throne beneath the earth, ploughing a furrow with it until the earth split open with the throne before Solomon.