Sahih al-Bukhari 30:104
Narrated Ibn `Umar:
Fasting for those who perform ,Hajj-at-Tamattu` (in lieu of the Hadi which they cannot afford) may be performed up to the day of `Arafat. And if one does not get a Hadi and has not fasted (before the `Id) then one should fast of the days of Mina. (11, 12 and 13th of Dhul Hajja).
Reference
Sahih al-Bukhari 30:104
In-book reference
Book 30, Hadith 104
Arabic Text
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ بْنِ عُمَرَ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ الصِّيَامُ لِمَنْ تَمَتَّعَ بِالْعُمْرَةِ إِلَى الْحَجِّ، إِلَى يَوْمِ عَرَفَةَ، فَإِنْ لَمْ يَجِدْ هَدْيًا وَلَمْ يَصُمْ صَامَ أَيَّامَ مِنًى. وَعَنِ ابْنِ شِهَابٍ عَنْ عُرْوَةَ عَنْ عَائِشَةَ مِثْلَهُ. تَابَعَهُ إِبْرَاهِيمُ بْنُ سَعْدٍ عَنِ ابْنِ شِهَابٍ.