Exceeding the proper limits regarding the Messenger

Were the heavens and earth created for the Prophet's sake?