How did Muhammed learn about Abrahamic faiths?

by [deleted]

If Muhammed followed Jahiliyya before creating Islam, how was it that he created a religion so similar to other Abrahamic religions? Did he have some experience with Judaism or Christianity prior? If so, how? How many oppurtunities were there at his time to learn about other faiths?

Searocksandtrees