Aamir bin Sa'd radiyallahu anhu says, My father Sa'd said, "Rasoolullah sallallahu alaihe wasallam laughed on the day of the Battle of Khandaq till his teeth showed." Aamir radiyallahu anhu says, "I asked why did he laugh?" he replied, "A Kaafir had a shield, and Sa'd was a great archer. The kaafir protected himself by swaying the shield from side to side covering his forehead. (Sayyidina Sa'd radiyallahu anhu was a famous marksman, but the kaafir did not let the arrows get him). Sa'd radiyallahu anhu took an arrow (and kept it ready in the bow). When the non believer removed the shield from his head, he quickly aimed at the kaafir and did not miss the target, i.e. the (enemy's) forehead. The enemy immediately fell down, his legs rising into the air. On that Rasoolullah sallallahu alaihe wasallam laughed till his mabaraak teeth showed." I asked, "Why did Rasoolullah sallallahu alaihe wasallam laugh?" He replied, "Because of what Sa'd had done to the man."
English reference: Book 34, Hadith 224
Arabic reference: Book 35, Hadith 234