Az-Zumar 39:75
وَتَرَى الْمَلَائِكَةَ حَافِّينَ مِنْ حَوْلِ الْعَرْشِ يُسَبِّحُونَ بِحَمْدِ رَبِّهِمْ ۖ وَقُضِيَ بَيْنَهُم بِالْحَقِّ وَقِيلَ الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ ٧٥
Watara almalaikata haffeena min hawli alAAarshi yusabbihoona bihamdi rabbihim waqudiya baynahum bialhaqqi waqeela alhamdu lillahi rabbi alAAalameena
“And thou (O Muhammad) seest the angels thronging round the Throne, hymning the praises of their Lord. And they are judged aright. And it is said: Praise be to Allah, the Lord of the Worlds!” (39:75)
وَقُضِىَ بَيْنَهُمْ
(And they will be judged) meaning, all of creation.
بِالْحَقِّ
(with truth.) Then He says:
وَقِيلَ الْحَمْدُ لِلَّهِ رَبِّ الْعَـلَمِينَ
(And it will be said, "All the praises and thanks be to Allah, the Lord of all that exits.") meaning, all of creation, whether animate or inanimate, will speak words of praise to Allah, the Lord of all that exists, for His wisdom and justice. These words are not attributed to any specific speaker, which indicates that the whole of creation will testify to His praise. Qatadah said, "Allah began His creation with praise, as He said,
الْحَمْدُ للَّهِ الَّذِى خَلَقَ السَّمَـوَتِ وَالاٌّرْضَ
(All praises and thanks be to Allah, Who created the heavens and the earth) (6:1). and He ended it with praise, as He says:
وَقُضِىَ بَيْنَهُمْ بِالْحَقِّ وَقِيلَ الْحَمْدُ لِلَّهِ رَبِّ الْعَـلَمِينَ
(And they will be judged with truth. And it will be said, "All the praises and thanks be to Allah, the Lord of all that exists.")."