Can i use glass made baking mould for the oven…?

hi there i’ve just bought a baking mould from shop but the problem is underneath the mould is made from glass and one of my friend told me if i use it for oven the glass probably will explode so i really need help here could anyone tell me can i use it or not,or hv you got one of this kinda baking mould and how you use it ..thx you very much for your help..