I spent the night at the home of my maternal aunt Maymuna bint Harith, and the Messenger of Allah ﷺ was spending the night with her. I saw him get up to relieve himself. He went to the waterskin, untied its fastening, performed a light ablution between the two forms of ablution, and then returned to his bed and slept.He got up again, went to the waterskin, untied its fastening, and performed a complete ablution. Then he stood and prayed, saying in his prostration, "O Allah, place light in my heart, light in my hearing, light in my sight, light below me, light above me, light to my right, light to my left, light before me, light behind me, and grant me an abundance of light."Then he slept until he was breathing audibly, and Bilal came and woke him for the prayer.
بت عند خالتي ميمونة بنت الحارث، وبات رسول الله ﷺ عندها فرأيته قام لحاجته، فأتى القربة فحل شناقها، ثم توضأ وضوءا بين الوضوئين، ثم أتى فراشه فنام، ثم قام قومة أخرى، فأتى القربة فحل شناقها، ثم توضأ وضوءا هو الوضوء، ثم قام فصلى، وكان يقول في سجوده: اللهم اجعل في قلبي نورا، واجعل في سمعي نورا، واجعل في بصري نورا، واجعل من تحتي نورا، واجعل من فوقي نورا، وعن يميني نورا وعن يساري نورا، واجعل أمامي نورا، واجعل خلفي نورا، وأعظم لي نورا ثم نام حتى نفخ، فأتاه بلال فأيقظه للصلاة.
Nasai (1120) narrated it from Hannad bin Sari, from Abu Ahwas, from Saeed bin Masruq, from Salama bin Kuhayl, from Rushdin, who is Kurayb, the freed slave of Ibn Abbas, from Ibn Abbas, and he related the hadith. Nasai stated explicitly that the Prophet ﷺ used to say this supplication during sujud.Muslim also narrated it in the Book of the Prayer of Travelers (763:188) from Hannad with the same chain, except that he did not give the full wording of the hadith. He also narrated it (763:187) through the hadith of Shubah, from Salama bin Kuhayl with the same chain, and it contains the wording, "He would say it in his prayer, or in his sujud."Bukhari narrated it in the Book of Supplication (6316), and Muslim narrated it (763:181), through the route of Sufyan, from Salama with the same chain, but without mentioning that he used to say it during his sujud.This supplication was one that the Prophet ﷺ used to say at various times, sometimes during sujud, as mentioned here, sometimes while going to the masjid, and sometimes during the tahajjud prayer.