Dude - get a clue. Hammurabi was 17th century BC, waaaaaaaay before the word Islam was even muttered.
We are talking Babylonian mythos - Giglamesh, Shamash, and Marduk. Allah wasn’t even a thought in anyone’s head.
You are only proving your vast ignorance by trying to equate Hammurabi to Islam.
Hey - you come from the United States, right? Mormonism came from the United States! Therefore, YOU must be a Mormon!!!
Or, you must believe in Native American gods!
See?
The creation of Islam exists as an event in history and there is no reason that it should not be presented as a part of history to even a 4 year old as they memorize a timeline of what has occurred on this earth since Creation so that they will have a peg upon which to hang further learning.