Book Name:Hazrat Musa Ki Shan o Azmat
اَلۡـحَـمۡـدُ لِـلّٰـہِ رَبِّ الۡـعٰـلَـمِیۡنَ وَ الـصَّـلٰـوۃُ وَ الـسَّـلَامُ عَـلٰی خَاتَمِ النَّبِیّٖن
اَمَّـا بَــعۡـدُ فَـاَعُـوۡذُ بِـا لـلّٰـہِ مِـنَ الـشَّـیۡـطٰنِ الـرَّجِیۡمِؕ بِـسۡمِ الـلّٰـہِ الـرَّحۡـمٰنِ الـرَّحِـیۡمِؕ
The Magnificence of Mūsā عَـلَيْـهِ الـسَّـلاَم
اَلصَّلٰوۃُ وَ السَّلَامُ عَلَیْكَ یَا رَسُولَ اللہ وَعَلٰی اٰلِكَ وَ اَصْحٰبِكَ یَا حَبِیْبَ اللہ
اَلصَّلٰوۃُ وَ السَّلَامُ عَلَیْكَ یَا نَبِیَّ اللہ وَعَلٰی اٰلِكَ وَ اَصْحٰبِكَ یَا نُوْرَ اللہ
نَوَيۡتُ سُنَّتَ الۡاِعۡتِكَافِ
I intend Sunna iꜤtikāf
It is stated 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 Almighty 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).