I tend to do this all the time and no problems so far. All I do is set the wort aside after mashing and cling film the boiler lid shut, leave it and boil it the next day. It's unlikely you'll get contamination.
In fact if I run out of brew time I also leave the boiled wort overnight to cool in...