"The Messenger of Allah(ﷺ)said: 'Do not pray toward graves and do not sit on them.'"
Sunan an-Nasa'i Book 9, Hadith 19