A recipe for soap having water , alkali and cassia oil was written on a Babylonian clay tablet around 2200 BC . A formula for soap consisting of water , alkali , and cassia oil was written on a Babylonian clay tablet around 2200 BC .