The earliest recorded evidence of soap-like materials dates to about 2800 BCE in ancient Babylon, and a Sumerian clay tablet from about 2500 BCE records a formula of oil heated with wood ash.
Egyptians used a soap-like product medicinally, and Romans adopted soap only later, from about the first century CE.