I was just wondering if purchasing graves and re-selling for a profit after a few years is halal or harram?

It’s allowed so long as there is nothing wrong legally or according to the country’s law