A: Because it happens in the future.
Actually the Muslims originated in a different part of the Universe.
They became the Klingons.
So perhaps the Muslims on this planet were a branch of the Klingons that came to colonize Earth in 622 AD.
Mohammed Ali got his inspiration from SOMEWHERE, and the ancestors of Lt. Worf certainly look likely.
” Because it happens in the future.”
then the future will work itself out then.