It is narrated from Sayyidah Aishah (may Allah be pleased with her) that "the Messenger of Allah (peace and blessings be upon him) and Sayyidah Khadijah (may Allah be pleased with her) spent a month in i'tikaf (seclusion) in the Cave of Hira, and it happened to be the month of Ramadan. Then the Messenger of Allah (peace and blessings be upon him) came out (of the cave) and heard the words: 'As-salamu alaykum' (Peace be upon you). Sayyidah Aishah (may Allah be pleased with her) relates that he (peace and blessings be upon him) said: 'I thought it was a sudden appearance of the jinn.' So Sayyidah Khadijah (may Allah be pleased with her) said: 'Rejoice, for the greeting of peace is goodness and blessing.'" (The narrator) mentioned this long hadith.
Imam Abu Dawud al-Tayalisi and al-Harith recorded it with a hasan chain, and it will soon come in full detail in the section on the signs of Prophethood.
It is narrated from Sayyidah Aishah (may Allah be pleased with her) that "when the Prophet (peace and blessings be upon him) was in i'tikaf, he would not go out (of the mosque) except for an unavoidable need that could not be done without."
Muhammad bin Yahya bin Abi Umar recorded it with a chain that includes the narrator Abdullah bin Budayl al-Khuza'i.
It is narrated from Muhammad bin Sirin that a man asked Judge Shurayh about a woman who had vowed to observe i'tikaf in the mosque in the month of Rajab of that year, while Ziyad, or Ibn Ziyad, had forbidden women from observing i'tikaf in the mosque. So Shurayh said: "I do not say that this ruling is explicitly in the revealed Book of Allah, nor in any past Sunnah of the Messenger of Allah (peace and blessings be upon him); rather, it is merely an opinion: she should fast Rajab of that year, and when she breaks her fast, a poor person should break the fast with her every day, or she should feed a poor person every night. In this way, two acts of worship will be done in place of one, and Allah does what He wills."
Al-Harith bin Abi Usamah transmitted this narration as mawquf on Shurayh with a sahih chain.