يَشْفَعُ يَوْمَ الْقِيَامَةِ ثَلَاثَةٌ: الْأَنْبِيَاءُ ثُمَّ الْعُلَمَاءُ ثُمَّ الشُّهَدَاءُ
Three groups will intercede on the Day of Resurrection: the prophets, then the scholars, then the martyrs.
This report is transmitted from ʿUthmān ibn ʿAffān (may Allah be pleased with him). It identifies the prophets and also mentions the merit of scholars and martyrs in relation to intercession.