Surah Al-Isra 17:55
وَرَبُّكَ أَعْلَمُ بِمَن فِى ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضِ ۗ وَلَقَدْ فَضَّلْنَا بَعْضَ ٱلنَّبِيِّـۧنَ عَلَىٰ بَعْضٍ ۖ وَءَاتَيْنَا دَاوُۥدَ زَبُورًا
And your Lord is most knowing of whoever is in the heavens and the earth. And We have made some of the prophets exceed others [in various ways], and to David We gave the book [of Psalms].
Translation: Saheeh International
Tafsir
And your Lord knows best all who are in the heavens and the earth thus endowing them each one with what He will according to the measure of their states. And verily We have preferred some of the prophets above others endowing each of them with a particular merit Moses with being spoken to; Abraham with Friendship; …
Excerpt from Tafsir al-Jalalayn, commentary on 17:55, via Quran.com. The reader has the full commentary and 9 more tafsirs.