Lying while Joking
The Prophet (sal Allahu alaihi wa sallam) said: “Shame on him who tells lies in order to make people laugh! Shame on him! Shame on him!” [Abu Dawud]
We can say without doubt that lying is one of the most evil characteristics, against which all religions and systems of ethics warn, and which man's innate common sense (Fitrah) also recognizes as wrong. However, many people do not take seriously telling lies when they are joking. Lying is not permissible whether the one doing it is joking or serious. Practical jokes are another form of lying.
The Prophet (sal Allahu alaihi wa sallam) said: “I joke, but I speak nothing but the truth.” [Tabarani]