“I was with the Messenger of Allah (ﷺ) and a man from among the Ansar came to him and greeted the Prophet (ﷺ) with Salam. Then he said: ‘O Messenger of Allah, which of the believers is best?’ He said: ‘He who has the best manners among them.’ He said: ‘Which of them is wisest?’ He said: ‘The one who remembers death the most and is best in preparing for it. Those are the wisest.’”
Sunan Ibn Majah Book 37, Hadith 160