Muwatta Imam Malik Book of Fasting, Hadith 27
27 Yahya related to me from Malik that he had heard that Umar ibn al-Khattab, if he was travelling in Ramadan and knew that he would reach Madina at the begining of the day ,would do so fasting.
Yahya said that Malik said, "Someone who is travelling and knows that he will be reaching his people in the first part of the day, and then dawn breaks before he gets there, should be fasting when he gets there."
Malik said, "Someone who intends to go away (on a journey) in Ramadan, and then dawn breaks while he is still on his land before he has left, should fast that day."
Malik said that a man who returns from a journey in Ramadan and is not fasting may have sexual intercourse with his wife if he wishes, if she is not fasting and she has just become pure after her menses.
حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ عُمَرَ بْنَ الْخَطَّابِ، كَانَ إِذَا كَانَ فِي سَفَرٍ فِي رَمَضَانَ فَعَلِمَ أَنَّهُ دَاخِلٌ الْمَدِينَةَ مِنْ أَوَّلِ يَوْمِهِ دَخَلَ وَهُوَ صَائِمٌ . قَالَ يَحْيَى قَالَ مَالِكٌ مَنْ كَانَ فِي سَفَرٍ فَعَلِمَ أَنَّهُ دَاخِلٌ عَلَى أَهْلِهِ مِنْ أَوَّلِ يَوْمِهِ وَطَلَعَ لَهُ الْفَجْرُ قَبْلَ أَنْ يَدْخُلَ دَخَلَ وَهُوَ صَائِمٌ . قَالَ مَالِكٌ وَإِذَا أَرَادَ أَنْ يَخْرُجَ فِي رَمَضَانَ فَطَلَعَ لَهُ الْفَجْرُ وَهُوَ بِأَرْضِهِ قَبْلَ أَنْ يَخْرُجَ فَإِنَّهُ يَصُومُ ذَلِكَ الْيَوْمَ . قَالَ مَالِكٌ فِي الرَّجُلِ يَقْدَمُ مِنْ سَفَرِهِ وَهُوَ مُفْطِرٌ وَامْرَأَتُهُ مُفْطِرَةٌ حِينَ طَهُرَتْ مِنْ حَيْضِهَا فِي رَمَضَانَ أَنَّ لِزَوْجِهَا أَنْ يُصِيبَهَا إِنْ شَاءَ .