Mohammed came along long after Baal, so, not directly from that one. “Allah” is simply another false god and probably a composite one, since Mohammed’s religion is a composite of various other religions.
Mohammad being of the root of the Egyptian Haggar/Abraham was a jealous zealot who felt the need to counter the Sarah/Abraham root of David and Jesus. The whole Islam religion is contrived from the intentions of Mohammad.