An-Nahl • EN-AL-JALALAYN
﴿ وَأَوْحَىٰ رَبُّكَ إِلَى ٱلنَّحْلِ أَنِ ٱتَّخِذِى مِنَ ٱلْجِبَالِ بُيُوتًۭا وَمِنَ ٱلشَّجَرِ وَمِمَّا يَعْرِشُونَ ﴾
“And [consider how] thy Sustainer has inspired the bee: "Prepare for thyself dwellings in mountains and in trees, and in what [men] may build [for thee by way of hives];”
And your Lord revealed to the bee a revealing effected through inspiration saying an ‘that’ is either explicative or relates to the verbal noun ‘Choose among the hills habitations to which you can resort and among the trees also habitations and among the trellises which they raise that is the places which humans build for you — for otherwise it the bee would not resort to these places.