Ata' narrates from Ibn Abbas (may Allah be pleased with them both) that he said: When one of you begins the day fasting and then needs to break the fast, he should fast a day in its place.