It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) say: "I never intended to do any of the evil deeds of the Time of Ignorance that the people of Ignorance used to intend, except twice in my whole life, and on both occasions Allah Almighty protected me (from those deeds). One night I said to a young man of Quraysh who was with me in the upper part of Makkah, tending the goats of our families: 'Look after my goats as well, so that tonight I may go into Makkah and spend the night in its gatherings as the other young men do.' He said: 'Very well.' So I went out, and when I reached the very first house of Makkah I heard the sound of singing, of drums (duff) and of flutes. I asked: 'What is going on?' The people said that so-and-so was marrying so-and-so (it was the wedding of a man and a woman of Quraysh). So I became absorbed in that singing and that sound until sleep overcame me, and nothing woke me but the heat of the sun. When I returned to my companion he asked: 'What did you do?' and I told him everything. Then on another night I did the same again and reached Makkah, and there was the same thing (a wedding), and I was given the same answer. Again I became absorbed in those sounds until sleep overcame me, and I woke only with the heat of the sun. Then I came back to my companion and he asked: 'What did you do?' I said: 'I did nothing.'" The Messenger of Allah (peace and blessings be upon him) said: "By Allah, after these two incidents I never intended any evil deed of the Time of Ignorance until Allah Almighty honoured me with Prophethood." I (Allamah al-Busiri) say: Muhammad bin Ishaq narrated it in this way in the Sirah. This chain is hasan (good) and of high standing, and I have not seen it in any of the large Musnads except the Musnad of Ishaq bin Rahwayh. It is a hasan and connected (muttasil) hadith, and all its narrators are thiqat (trustworthy). Imam Ibn Hibban also narrated it in his Sahih.
Hadith Takhrij«رواه محمد بن إسحاق في السيرة، وهذه الطريق حسنة جليلة، ولم أره في شيء من المسانيد الكبار إلا في مسند إسحاق، وهو حديث حسن متصل ورجاله ثقات»