Salam, recently I came across a Hadith which has been troubling me this hadith is found in the Riyadh as-saliheen a book by Imam Al-Nawawi. Which is as follows:
Abu Umamah (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "The superiority of the learned over the devout worshipper is like my superiority over the most inferior amongst you (in good deeds)." He went on to say, "Allah, His angels, the dwellers of the heaven and the earth, and even the ant in its hole and the fish (in water) supplicate in favour of those who teach people knowledge."
[At-Tirmidhi]. http://sunnah.com/riyadussaliheen/13/12
The last part says that Allah and His creation supposedly prays in favour of those people which doesn't make sense like why would Allah supplicate?
Can someone explain how to understand this hadith properly or is it mistranslated? if so then what is the correct translation?