Sahih al-Bukhari, Hadith 1558 ⓘ
Narrated Anas bin Malik: `Ali came to the Prophet (p.b.u.h) from Yemen (to Mecca). The Prophet asked `Ali, "With what intention have you assumed Ihram?" `Ali replied, "I have assumed Ihram with the same intention as that of the Prophet." The Prophet said, "If I had not the Hadi with me I would have finished the Ihram." Muhammad bin Bakr narrated extra from Ibn Juraij, "The Prophet said to `Ali, "With what intention have you assumed the Ihram, O `Ali?" He replied, "With the same (intention) as that of the Prophet." The Prophet said, "Have a Hadi and keep your Ihram as it is."
حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ الْخَلاَّلُ الْهُذَلِيُّ، حَدَّثَنَا عَبْدُ الصَّمَدِ، حَدَّثَنَا سَلِيمُ بْنُ حَيَّانَ، قَالَ سَمِعْتُ مَرْوَانَ الأَصْفَرَ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه ـ قَالَ قَدِمَ عَلِيٌّ ـ رضى الله عنه ـ عَلَى النَّبِيِّ صلى الله عليه وسلم مِنَ الْيَمَنِ فَقَالَ " بِمَا أَهْلَلْتَ ". قَالَ بِمَا أَهَلَّ بِهِ النَّبِيُّ صلى الله عليه وسلم. فَقَالَ " لَوْلاَ أَنَّ مَعِي الْهَدْىَ لأَحْلَلْتُ ". وَزَادَ مُحَمَّدُ بْنُ بَكْرٍ عَنِ ابْنِ جُرَيْجٍ قَالَ لَهُ النَّبِيُّ صلى الله عليه وسلم " بِمَا أَهْلَلْتَ يَا عَلِيُّ ". قَالَ بِمَا أَهَلَّ بِهِ النَّبِيُّ صلى الله عليه وسلم قَالَ " فَأَهْدِ وَامْكُثْ حَرَامًا كَمَا أَنْتَ ".
also referenced under: Book 25, Hadith 44 (In-Book) & Volume 2, Book 26, Hadith 629 (USC-MSA)