Khalid Ibn El-Waleed narrated the following:
A Bedouin came one day to the prophet and said to him, “O, Messenger of Allah! I’ve come to ask you a few questions about the affairs of this life and the Hereafter.
Ask what you wish.
I’d like to be the most of learned of men.
Fear Allah, and you will be the most learned of men.
I’d like to be the richest man in the world
Be contented, and you will be the richest man in the world.
I’d like to be the most of just men.
Desire for others what you desire for yourself, and you will be the most just of men.
A Bedouin came one day to the prophet and said to him, “O, Messenger of Allah! I’ve come to ask you a few questions about the affairs of this life and the Hereafter.
Ask what you wish.
I’d like to be the most of learned of men.
Fear Allah, and you will be the most learned of men.
I’d like to be the richest man in the world
Be contented, and you will be the richest man in the world.
I’d like to be the most of just men.
Desire for others what you desire for yourself, and you will be the most just of men.

