Answer
(Fatwa: 873/1068=H/1429)
It is very bad to do a thing with a feeling of show and publicity because by this way a person wastes loses his good deeds. However, matters of show and publicity etc are hidden which actually are related to heart. So, to say about others of being ostentatious or showy is incorrect. Those who prefix their names with “Al-haaj” (or haji) calling them showy is not correct, though writing oneself haji is not good. There is no problem if you convince such people in loneliness with wisdom. It is allowed to state it in a way that does not hurt people and you do not address anyone particularly. After all, you should not give a form of movement.
Allah (Subhana Wa Ta’ala) knows Best
Darul Ifta,
Darul Uloom Deoband