It was narrated from Abu Sa’eed that the Prophet (ﷺ) forbade building structures over graves.
Sunan Ibn Majah Book 6, Hadith 132