Surah Al-Anbiya, ayah 79

21:79

فَفَهَّمۡنَٰهَا سُلَيۡمَٰنَۚ وَكُلًّا ءَاتَيۡنَا حُكۡمٗا وَعِلۡمٗاۚ وَسَخَّرۡنَا مَعَ دَاوُۥدَ ٱلۡجِبَالَ يُسَبِّحۡنَ وَٱلطَّيۡرَۚ وَكُنَّا فَٰعِلِينَ ٧٩

Fafahhamnāhā sulaymāna wakullan ātaynā hukman wa'ilman wasakkharnā ma'a dāwūdal-jibāla yusabbihna wat-tayra wakunnā fā'ilīn

And We gave understanding of it [i.e., the case] to Solomon, and to each [of them] We gave judgement and knowledge. And We subjected the mountains to exalt [Us], along with David and [also] the birds. And We were doing [that].897

Footnotes

897 Meaning that Allāh has always been capable of accomplishing whatever He wills.