The effect of temperature depends upon the extent of rise in temperature (for solids)
However in general if we increase temperature of a substance there will be increase in kinetic energy of the molecules and generally the volume of substance will increase
However there will be no effect on the mass of the substance due to increase / decrease in temperature
Density = mass / volume
As mass will remain constant and volume will increase with temperature the density of solid will generally decrease (very less though)