أَخْبَرَنَا أَبُو سَعِيدٍ مُحَمَّدُ بْنُ مُوسَى بْنِ الْفَضْلِ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ عَبْدِ اللهِ الصَّفَّارُ ثنا أَحْمَدُ بْنُ مَهْدِيٍّ، ثنا ثَابِتُ بْنُ مُحَمَّدٍ يَعْنِي الزَّاهِدَ، ثنا سُفْيَانُ الثَّوْرِيُّ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرِ بْنِ عَبْدِ اللهِ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: " لَا يَقْطَعُ الصَّلَاةَ الْكَشْرُ وَلَكِنْ يَقْطَعُهَا الْقَرْقَرَةُ " وَقَدْ رُوِيَ فِي التَّبَسُّمِ فِي الصَّلَاةِ حَدِيثٌ آخَرُ لَا يُحْتَجُّ بِأَمْثَالِهِ.
It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that he (peace and blessings be upon him) said: "Smiling does not invalidate the prayer, but laughing out loud breaks the prayer."
Another hadith has been narrated about smiling in prayer, the like of which is not used as proof.