Sunan An-Nasa'i - سنن النسائي
17. The Book of Praying for Rain (Al-Istisqa') - كتاب الاستسقاء
16) Chapter: It is Makruh to attribute rain to the stars
It was narrated that Abu Sa'eed Al-Khudri said:
"The Messenger of Allah (ﷺ) said: 'If Allah (SWT) were to withhold rain from His slaves for five years and then send it, some of the people would become disbelievers, saying: "We have been given rain by the star of Al-Mijdah."
16) باب كَرَاهِيَةِ الاِسْتِمْطَارِ بِالْكَوْكَبِ
أَخْبَرَنَا عَبْدُ الْجَبَّارِ بْنُ الْعَلاَءِ، عَنْ سُفْيَانَ، عَنْ عَمْرٍو، عَنْ عَتَّابِ بْنِ حُنَيْنٍ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم . " لَوْ أَمْسَكَ اللَّهُ عَزَّ وَجَلَّ الْمَطَرَ عَنْ عِبَادِهِ خَمْسَ سِنِينَ ثُمَّ أَرْسَلَهُ لأَصْبَحَتْ طَائِفَةٌ مِنَ النَّاسِ كَافِرِينَ يَقُولُونَ سُقِينَا بِنَوْءِ الْمِجْدَحِ "