After Prophet Nuh (a.s.) had disembarked from his ark, the Satan approached him and said: "You have greatly obliged me and so I wish to thank you for your obligation and give you something in exchange!"
Nuh (a.s.) said: "I am indisposed to the fact that I oblige you and you recompense me for it. Anyway, go on and tell me the truth."
Satan said: "Indeed I have to strive hard and exert myself before I can lead one person astray, but you cursed the people and all of them were destroyed and so, at least at present, I am at ease till another community is born and reaches the age of responsibility before I invite them towards disobedience (of Allah)!! Now, in reciprocation of your good deed, I shall give you a word of advice. Stay away from three attributes:
Firstly - never exhibit arrogance, for it was because of this vice that I did not prostrate before your father, Adam and was expelled from the presence of Allah.
Secondly - stay away from greed, for it was this due to this that Adam consumed the wheat and was deprived of Paradise.
Thirdly - distance yourself from envy, for it was because of this vice that Qabil killed his brother Habil and eventually perished as a result of Divine punishment."Reference:
- Anecdotes for Reflection, Vol 3, Satan, Anecdote 1, Pg 88