Dalil

Quran Taha 20:75

وَمَن يَأۡتِهِۦ مُؤۡمِنٗا قَدۡ عَمِلَ ٱلصَّٰلِحَٰتِ فَأُوْلَٰٓئِكَ لَهُمُ ٱلدَّرَجَٰتُ ٱلۡعُلَىٰ

Translation

But whoever comes to Him as a believer having done righteous deeds - for those will be the highest degrees [in position]: