Sahih Muslim
955

Anas reported that the Messenger of Allah (ﷺ) observed prayer on the grave