Sunan an-Nasa'i, Volume 2, Book 20, Hadith 1637 (DarusSalam)

Mu'tamir said: "I heard my father say: I heard Anas say: 'One of the companions of the Prophet told me that on the Night Journey, the Prophet passed by Musa, peace be upon him, and he was praying in his grave.'"

أَخْبَرَنَا يَحْيَى بْنُ حَبِيبِ بْنِ عَرَبِيٍّ، وَإِسْمَاعِيلُ بْنُ مَسْعُودٍ، قَالاَ حَدَّثَنَا مُعْتَمِرٌ، قَالَ سَمِعْتُ أَبِي قَالَ، سَمِعْتُ أَنَسًا، يَقُولُ أَخْبَرَنِي بَعْضُ، أَصْحَابِ النَّبِيِّ صلى الله عليه وسلم أَنَّ النَّبِيَّ صلى الله عليه وسلم لَيْلَةَ أُسْرِيَ بِهِ مَرَّ عَلَى مُوسَى عَلَيْهِ السَّلاَمُ وَهُوَ يُصَلِّي فِي قَبْرِهِ ‏.‏

sunnah.com