Pull (someone`s) leg

To trick or fool someone in a playful way, to try to trick or joke with someone by saying something that is not true.

The man was pulling his friend’s leg when he said that he had won much money.