The Absence of the Hoopoe
Mujahid, Sa`id bin Jubayr and others narrated from Ibn `Abbas and others that the hoopoe was an expert who used to show Sulayman where water was if he was out in open land and needed water. The hoopoe would look for water for him in the various strata of the earth, just as a man looks at things on the surface of the earth, and he would know just how far below the surface the water was. When the hoopoe showed him where the water was, Sulayman would command the Jinn to dig in that place until they brought water from the depths of the earth. One day Sulayman went to some open land and checked on the birds, but he could not see the hoopoe.
(and (Sulayman) said: “What is the matter that I see not the hoopoe Or is he among the absentees”)