Question:
My question is, when a person has a need to yawn or sneeze, it is best practice to say Alhamdulillah. If a person is praying however should they Alhamdulillah during the prayer then continue praying or say it once they have finished praying?

Answer:
Saying Alhamdu Lillah is permissible when sneezing whether in prayer or
not.
When yawning , there isn’t anything prescribed to be said.


Please visit here for detailed fatwa information directly from highly respected scholar