Ibn Umar reported: The Messenger of Allah, peace and blessings be upon him, when he sighted the crescent of a new moon, used to say, “O Allah, bring it over us with safety and faith, security and Islam, guidance to what You love and is pleasing to You. Our Lord and your Lord is Allah.”
Source: Ṣaḥīḥ Ibn Ḥibbān 888
Grade: Sahih li ghayrihi (authentic due to external evidence) according to Al-Arna’ut
عَنِ ابْنِ عُمَرَ قَالَ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا رَأَى الْهِلَالَ قَالَ اللَّهُمَّ أَهِلَّهُ عَلَيْنَا بِالْأَمْنِ وَالْإِيمَانِ وَالسَّلَامَةِ وَالْإِسْلَامِ وَالتَّوْفِيقِ لِمَا تُحِبُّ وَتَرْضَى رَبُّنَا وَرَبُّكَ اللَّهُ
888 صحيح ابن حبان باب الأدعية ذكر ما يقول المرء إذا رأى الهلال أول ما يراه
3/171 المحدث شعيب الأرناؤوط خلاصة حكم المحدث صحيح لغيره في تخريج صحيح ابن حبان