Can I put cold glass in the oven?

I remember seeing somewhere that it might bust. I have some leftovers in a glass casserole dish that has been in the fridge. What if I put the dish in the oven while it's off, then turn it on to preheat. That way the dish comes to temperature with the oven?

Or would I just be better off transferring the food to a different dish?