The Prophet ﷺ said: 'On the night on which I was taken on the Night Journey, I passed by Musa and he was praying in his grave.' (Using translation from Nasāʾī 1637)
عَنْ بَعْضِ أَصْحَابِ النَّبِيِّ ﷺ أَنَّ النَّبِيَّ ﷺ لَيْلَةَ أُسْرِيَ بِهِ قَالَ مَرَرْتُ عَلَى مُوسَى وَهُوَ يُصَلِّي فِي قَبْرِهِ