Laughing and smiling in prayer

If you laugh, your prayer becomes invalid. Ibn Mundhir has transmitted an Ijmaa on this point. 

Smiling does not invalidate the prayer according to the majority of the people of knowledge.