There wasn't any mosque in Jerusalem during the life of Mohammed, so he couln't have flown to Allah Heaven from there.
You quibble. Besides, Classical Arabic didn't exist during Mohammad's lifetime either, yet his words are supposedly recorded in it.