As-salāmu ʿalaykum wa-raḥmatu-llāh, Ahsanallahu ilaykum Two top students spilled, leaving one rival ahead of convocation. Is it right to pray to graduate as the best student, knowing it requires the remaining person to drop in performance? Given that excellence is good, should I pray to be top?

Ustadh AbdulAziz al-Haqqan
Ask Allah to give you what is best for you and your brothers. Sometimes, you might think this is what is best for you, yet it might not be, so always ask Allah what is best for you.