Answered by Sayyidi Habib Umar bin Hafiz (may Allah protect him and benefit us by him)
I want to follow the Sunnah but I feel pride and ostentation in my heart when I do so. What should I do?
You should try to remove those blameworthy qualities while continuing to follow the Sunnah. The Devil may try to make you leave the Sunnah by making you fear falling into pride and ostentation. If he succeeds in doing that, he may then succeed in making you leave the prayer.
See these classes delivered by Habib Ali al-Jifri on ostentation and how to deal with it