It is narrated from Sayyiduna Talhah (may Allah be pleased with him) that whenever the Prophet (peace and blessings be upon him) saw a new moon, he would recite this supplication: «اَللّٰهُمَّأَهِلَّهُعَلَيْنَابِالْيُمْنِوَالْإِيمَانِوَالسَّلَامَةِوَالْإِسْلَامِرَبِّيوَرَبُّكَاللّٰهُ» "O Allah! Let this moon rise upon us with blessing and faith, with safety and Islam. O moon! My Lord and your Lord is Allah."
Hadith Referenceمسند احمد / مسند باقي العشرة المبشرين بالجنة / 1397
Hadith Gradingحکم دارالسلام:حسن لشواهده، وهذا إسناد ضعيف، سليمان ضعيف و بلال لين