Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:27:20

And he took attendance of the birds and said, "Why do I not see the hoopoe - or is he among the absent?  

And he reviewed the birds, to see the hoopoe — which would locate water beneath the ground and indicate its location by pecking at it, whereupon the devils would extract it, for Solomon required it for when he prayed; but he could not see him — then he said, ‘Why is it that I do not see the hoopoe?, in other words, is there something preventing me from seeing him? Or is he among the absent?, and so I cannot see him because he is absent?’ And when he became certain ˹of the hoopoe’s absence˺,
القرآن:٢٧:٢٠

وَتَفَقَّدَ الطَّيْرَ فَقَالَ مَا لِيَ لَا أَرَى الْهُدْهُدَ أَمْ كَانَ مِنَ الْغَائِبِينَ  

{وتفقّد الطير} ليرى الهدهد الذي يرى الماء تحت الأرض ويدل عليه بنقره فيها فتستخرجه الشياطين لاحتياج سليمان إليه للصلاة فلم يره {فقال ماليَ لا أرى الهدهد} أي أعرضَ لي ما منعني من رؤيته {أم كان من الغائبين} فلم أره لغيبته فلما تحققها.