Tandem Prins/Wagner/Ritter process for the stereoselective synthesis of (3-oxabicyclo[4.2.0]octanyl)amide and (1-(5-aryltetrahydrofuran-3-yl)cyclobutyl)amide derivatives.