The proscription is in Deuteronomy, so that would make it Jewish law - a bit older. So, you see here that, at the time, women were required to wear négligées and men were required to wear towels.