Hazrat Hakam says that when you are on a journey and you are in doubt whether the sun has declined or not, then perform the prayer.