Bulugh al-Maram
Book 5, Hadith 51
وَعَنْهَا قَالَتْ: { كَانَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -إِذَا أَرَادَ أَنْ يَعْتَكِفَ صَلَّى اَلْفَجْرَ, ثُمَّ دَخَلَ مُعْتَكَفَهُ } مُتَّفَقٌ عَلَيْهِ 1 .1 - صحيح. رواه البخاري ( 2033 )، ومسلم ( 1173 ) واللفظ لمسلم، وأما لفظ البخاري فهو: " كان النبي صلى الله عليه وسلم يعتكف في العشر الأواخر من رمضان، فكنت أضرب له خباء، فيصلي الصبح، ثم يدخله ".
Aisha reported: When the Messenger of Allah intended to observe i'tikaf, he would pray the dawn prayer and then enter his place of seclusion. The hadith is agreed upon by al-Bukhari and Muslim; the wording is Muslim's.
The editor grades it authentic and cites al-Bukhari 2033 and Muslim 1173. Al-Bukhari's wording is: The Prophet would observe i'tikaf during the last ten days of Ramadan. I would set up a tent for him; he would pray the dawn prayer, then enter it.