Sunan Ibn Majah, Book 37, Hadith 214 (Ibn Majah 4317)

It was narrated from ‘Uthman bin ‘Affan that the Messenger of Allah (ﷺ) said:

“Three will intercede on the Day of Resurrection: The Prophets, then the scholars, then the martyrs.”