Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:7503Musaddad > Sufyān > Ṣāliḥ > ʿUbaydullāh > Zayd b. Khālid

It rained (because of the Prophet's invocation for rain) and the Prophet ﷺ said, "Allah said, 'Some of My slaves have become disbelievers in Me, and some others, believers in Me.'"  

البخاري:٧٥٠٣حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا سُفْيَانُ عَنْ صَالِحٍ عَنْ عُبَيْدِ اللَّهِ عَنْ زَيْدِ بْنِ خَالِدٍ قَالَ

مُطِرَ النَّبِيُّ ﷺ فَقَالَ قَالَ اللَّهُ أَصْبَحَ مِنْ عِبَادِي كَافِرٌ بِي وَمُؤْمِنٌ بِي