It was narrated that Husayn ibn ‘Abd al-Rahmaan said: I was with Sa’eed ibn Jubayr and he said:
“Which of you saw the star that fell last night?”
I said, “I did.”
Then I said: “I wasn’t praying, but I had been stung…”
[Narrated by Muslim, 220.]
Shaykh Ibn ‘Uthaymeen said:
He said this (may Allaah have mercy on him) lest anyone think that he was praying qiyaam and praise him for something that he had not done. This is unlike what some people do, when they are happy that the people think that they were praying qiyaam, but that is contrary to Tawheed.
What Husayn said does not come under the heading of showing off, rather it comes under the heading of good deeds. It is not like one who refrains from doing good deeds for fear of showing off, because the Shaytaan may toy with a man and make the idea of refraining from doing good for fear of showing off appear attractive to him. Rather you should do the good deed, and try to avoid showing off to people.
[Majmoo’ Fataawa al-Shaykh Ibn ‘Uthaymeen, 9/85, 86.]
Source: Islam QA, Fatwa # 67617