We're talking about "wardrobing" which is where you buy an outfit, wear it, and then return it for a refund. Although not technically illegal, it is considered a form of “return fraud” by shops with staff being told to inspect items in case they've been worn.