Ibn Taymiyah (rh) quotes Abu Dawud that those who want to be known by everyone have a disease of the heart known shahwa khafiyya; a hidden desire.
Bishr bin Haarith mentioned that the one who wants to be famous will not taste the sweetness of the Aakhirah.
From the signs of arrogance and ujb (self amazement) is when one fasts and looks down on those that are eating! How does he know that they don’t fast other days or they don’t fast more than him?!
When you are keeping a Sunnah fast on a Monday for example, and you question why someone else is eating, then repent as you have a disease of the heart.
Some of the people of the past mentioned that a slave is not being sincere when he desires fame and wants to be known.
The people of the past would write to each other and warn each other about wanting to be known!
It’s very sad to see people feeling happy when they are remembered by others and feeling happiness in their heart when they know people know of them! This is from the diseases of the heart and what a great many they are!
Do you recite the Qur’an the same in front of others as when you are alone? If you led the salaah or someone asked you to recite, would you recite it beautifully? Do you do the same when you are praying alone at home in your optional prayers?
If the answer is no, then know you have a disease of the heart; riyaa!
Before you go to bed tonight, think about all the people that have hurt you or offended you, and forgive them. This takes a lot of strength but this is a quick way to clean one’s heart!
Teach this golden point to your family too.
An envier flatters you face to face, backbites when you are not there and rejoices when a calamity befalls you! So if you have envy in your heart for anyone, repent!
There is no-one that doesn’t feel envious, as mentioned by a scholar of the past, but the clever one is the one who conceals it, repents, speaks good of the person and makes du’a for them!
The quickest way to destroy the heart is to let the gaze wander.
Don’t blame the opposite gender, take responsibility for your own actions!