"Beer before liquor, never been sicker. Liquor before beer, you're in the clear." The order you drink beer, wine and spirits in is said to decide how bad the next day's hangover is.
In the one randomised trial of drinking order, 90 adults drank lager and white wine to the same breath alcohol, in either order or one kind alone, and their next-day hangover scores did not differ by order or by type (P = 0.71 on the main comparison). That trial used beer and wine, not spirits, and a search of the main databases and trial registers found no study of beer before liquor or the reverse. How drunk people felt and whether they vomited were the strongest predictors of the hangover in that trial. In a separate experiment at the same breath alcohol, people scored worse the next day after bourbon than after vodka (1.88 against 1.38 on a 0 to 7 scale), with no difference in next-day sleep or performance tests. NIAAA says that in general the more a person drinks, the worse the hangover, whatever the drink or the order.
The saying is about order, and the only controlled test of order, on beer and wine rather than liquor, found no difference; what tracked a bad morning was how drunk people got and whether they were sick, and bourbon scored worse than vodka in one experiment.