The Prophet ﷺ, on the night of his ascension, passed by Musa while he was praying in his grave.
أخبرنا محمد بن عبد الأعلى قال حدثنا معتمر عن أبيه
أن النبي ﷺ ليلة أسري به مر على موسى عليه السلام وهو يصلي في قبره
[Sahih] See hadith no. 1633 and the two that follow it.