Why would a hindu king build such large dome structure as palace. The land could have belonged to raja.
The Badshahnama specifically says that the land was purchased by Shah Jahan with a beautiful palace on the land. That is a different subject, you can start another thread if you really want to.