practical joke
noun
°Something done for amusement to the detriment of someone else.
"The class put a whoopee cushion on the teacher's chair as a practical joke."