This is mostly a myth. The idea is that fuel is denser when it's cooler, but gas stations store fuel in underground tanks, where the temperature stays fairly stable all day. Any difference is too small to notice. It's better to refuel when it's convenient and when the station isn't crowded.