Inland maximum temperature is expected to rise to around 41 degrees Celsius on Thursday, the Department of Meteorology has said in a yellow warning.