Sunan Abi Dawud, Book 11, Hadith 309 (Abu Dawud 2030)

Narrated Aisha, Ummul Mu'minin:

The Prophet (ﷺ) went out from me, while he was happy, but he returned to me while he was sad. He said: I entered the Ka'bah, I know beforehand about my affair what I have come to know later I would not have entered it. I am afraid I have put my community to hardship.