Was the Prophet Muhammad Jewish prior to founding Islam?

by fartful_dodger98

My understanding is that the area in which Muhammad lived cosisted of largely polytheistic societies, so how did Muhammad have knowledge of events written in the Koran which are nearly identical to those in the Bible and Torah, such as Adam and Eve and the story of Noah? Or was he Jewish and had this knowledge? Or were the texts with these elements written later?

the_howling_cow

Not to discourage further responses, but u/frogbrooks answered a similar question here