Book Name:Khwaja Garib Nawaz Aur Neki Ki Dawat
اَلْحَمْدُ لِلّٰہِ رَبِّ الْعٰلَمِیْنَ وَ الصَّلٰوۃُ وَالسَّلَامُ عَلٰی سَیِّدِ الْمُرْسَلِیْنَ ط
اَمَّا بَعْدُ فَاَعُوْذُ بِاللّٰہِ مِنَ الشَّیْطٰنِ الرَّجِیْمِ ط بِسْمِ اللہِ الرَّحْمٰنِ الرَّ حِیْم ط
Khāja Muʿīn al-Dīn as a caller to Islam
اَلصَّلٰوۃُ وَ السَّلَامُ عَلَیْكَ یَا رَسُولَ اللہ وَعَلٰی اٰلِكَ وَ اَصْحٰبِكَ یَا حَبِیْبَ اللہ
اَلصَّلٰوۃُ وَ السَّلَامُ عَلَیْكَ یَا نَبِیَّ اللہ وَعَلٰی اٰلِكَ وَ اَصْحٰبِكَ یَا نُوْرَ اللہ
نَوَيۡتُ سُنَّتَ الۡاِعۡتِكَافِ
I have made the intention of sunnah iꜤtikāf.
In Fatāwā Shāmī:
If someone wants to eat, drink or sleep in a masjid, he should make the intention to observe iꜤtikāf and perform the dhikr of Allah for some time. Then he may proceed as he wishes (i.e. now if he wants to eat, drink or sleep, he can do so).