Once Muhammad Hanafiyya was asked:
Who did you learn courtesy from?
He said: I learned from my Lord. my master granted me power in my wisdom and spirit through which I could distinguish between falsehoods and truth as well as bad and good, in doing so whatever I noticed from the owners of insights I applied them in my life the best way I could and whatever I noticed from the ignorant and unaware people seemed Indecent and obscene to me and I avoided them with hatred, so by the grace of Almighty Allah I have gained the treasury of knowledge now.
source : erfan.ir