Sayyiduna Ali (may Allah be pleased with him) said: If Ramadan comes upon a person while he is resident and then he travels, he should fast.