Sahih Muslim
The Book of Fasting (Kitab Al-Sawm)
Book Number: 006 / Hadith Number: 2626
Abu Sa'id al-Khudri (Allah be pleased with him) reported that the Messenger of Allah (may peace be upon him) devoted (himself to prayer) in the middle (ten nights) of Ramadan. The rest of the hadith is the same except for these words:" That he adhered to his place of i'tikaf and his forehead was besmeared with mud and water."