Book Name:Hadees e Qudsi Aur Shan e Ghous e Azam
اَلْحَمْدُ لِلّٰہِ رَبِّ الْعٰلَمِیْنَ وَ الصَّلٰوۃُ وَالسَّلَامُ عَلٰی سَیِّدِ الْمُرْسَلِیْنَ ط
اَمَّا بَعْدُ فَاَعُوْذُ بِاللّٰہِ مِنَ الشَّیْطٰنِ الرَّجِیْمِ ط بِسْمِ اللہِ الرَّحْمٰنِ الرَّ حِیْم ط
Hadith Qudsī and the Rank of the Crown of the Saints
اَلصَّلٰوۃُ وَ السَّلَامُ عَلَیْكَ یَا رَسُولَ اللہ وَعَلٰی اٰلِكَ وَ اَصْحٰبِكَ یَا حَبِیْبَ اللہ
اَلصَّلٰوۃُ وَ السَّلَامُ عَلَیْكَ یَا نَبِیَّ اللہ وَعَلٰی اٰلِكَ وَ اَصْحٰبِكَ یَا نُوْرَ اللہ
نَوَيۡتُ سُنَّتَ الۡاِعۡتِكَافِ
“I have made the intention of sunnah iꜤtikaf.”
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).