hadith
3541
۞
Anas narrated ‘The Prophet (SAWA), if he was in town, would retreat in the mosque the last ten nights of the month of Ramadhan, and if he was travelling, would retreat in the mosque twenty nights the following year.
كنز العمّال: كانَ [ النَّبِيُّ (صَلَّيَ اللهُ عَلَيهِ وَ آلِهِ) ] إذا كانَ مُقيماً اعتَكَفَ العَشرَ الأواخِرَ مِن رَمَضانَ ، وإذا سافَرَ اعتَكَفَ مِنَ العامِ المُقبِلِ عِشرينَ.