It is narrated from a Companion that the Prophet (peace be upon him) said: The night I was taken on the Mi'raj, I passed by Musa (Moses), who was standing in his grave performing prayer.