Split one’s sides laughing
This hyperbolic metaphor for laughing very heartily, as if one’s sides were splitting, dates from the late 17th/early 18th century. Side splitting laughter is first cited from the early 19th century