Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah descends to the lowest heaven every night when the first third of the night has passed, and He says, 'I am the King, I am the King. Who is calling upon Me that I may answer him? Who is asking of Me that I may grant him? Who is seeking My forgiveness that I may forgive him?' He continues in this way until the dawn breaks."

Muslim 1773

Sahih

و حدثنا قتيبة بن سعيد حدثنا يعقوب وهو ابن عبد الرحمن القاري عن سهيل بن أبي صالح عن أبيه

عن أبي هريرة

عن رسول الله ﷺ قال ينزل الله إلى السماء الدنيا كل ليلة حين يمضي ثلث الليل الأول فيقول أنا الملك أنا الملك من ذا الذي يدعوني فأستجيب له من ذا الذي يسألني فأعطيه من ذا الذي يستغفرني فأغفر له فلا يزال كذلك حتى يضيء الفجر

مسلم 1773صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Encouragement to supplicate and remember Allah in the last part of the night and the response to it
Numbering
Darussalam 1773
Muslim 1773