Definition: An LA-semigroup (also called Abel-Grassmann's groupoid) satisfies the medial law if $(ab)(cd) = (ac)(bd)$ for all $a,b,c,d$.
Reference: Left almost semigroups defined by a free algebra .
Comment: For the meaning of "medial" see here. The elements in the "middle" are interchanged.