Sunan an-Nasa'i #3821
The Book of Oaths and Vows 35:61
It was narrated that Ibn 'Umar said:
"Umar had made a vow to spend a night in 'Itikaf in Al-Masjid Al-Haram. He asked the Messenger of Allah about that, and he ordered him to perform the 'Itikaf."