The Prophet (PBUH) used to observe i'tikaf (ritual seclusion) during the last ten days of Ramadan.
The Messenger of Allah (PBUH) used to perform i'tikaf (ritual seclusion) during the last ten days of Ramadan. One year, he traveled and did not perform i'tikaf, but when the following year came, he performed i'tikaf for twenty days.