عَن طلحةَ بنِ عبيدِ اللَّهِ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا رَأَى الْهِلَالَ قَالَ: «اللَّهُمَّ أَهِلَّهُ عَلَيْنَا بِالْأَمْنِ وَالْإِيمَانِ وَالسَّلَامَةِ وَالْإِسْلَامِ رَبِّي وَرَبُّكَ اللَّهُ» . رَوَاهُ التِّرْمِذِيُّ. وَقَالَ: هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ
Translation

Mu'adh b. Jabal said the Prophet heard a man making supplication saying, “O God, I ask Thee for complete favour,” and asked him what complete favour meant. On his replying that it was a supplication by which he hoped to receive good, he said, “Part of complete favour is to enter paradise and be safe from hell.” He heard a man saying, “O Possessor of majesty and splendour,” and said, “Your prayer is answered, so make request.” The Prophet also heard a man who was saying, “O God, I ask Thee for endurance,” and said, “You have asked God for trial; now ask Him for wellbeing.” [Or, "ask Him for health."] Tirmidhi transmitted it.