Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) says: When a person laughs during the prayer, it becomes obligatory upon him to repeat the prayer.
Hadith Referenceسنن الدارقطني / كتاب الطهارة / 662
Hadith Takhrij«أخرجه الدارقطني فى ((سننه)) برقم: 662، انفرد به المصنف من هذا الطريق»