Perverb

A perverb (portmanteau of "perverse proverb"), also known as an anti-proverb, is a humorous modification of a known proverb, usually by changing its ending in a way that surprises or confounds the listener.

Perverbs were one of the many experimental styles explored by the French literary movement Oulipo. The term is attributed to Maxine Groffsky. The concept was popularised by Oulipo collaborator Harry Mathews in his Selected Declarations of Dependence (1977).