كتاب التفسير
65  
Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh))
(9)
"Not for you (O Muḥammad pbuh, but for Allah) is the decision.." (V.3:128)
(9)
باب ‏{‏لَيْسَ لَكَ مِنَ الأَمْرِ شَىْءٌ‏}‏
Sahih al-Bukhari 4560

Narrated Abu Huraira:

Whenever Allah's Messenger (ﷺ) intended to invoke evil upon somebody or invoke good upon somebody, he used to invoke (Allah after bowing (in the prayer). Sometimes after saying, "Allah hears him who sends his praises to Him, all praise is for You, O our Lord," he would say, "O Allah. Save Al-Walid bin Al-Walid and Salama bin Hisham, and `Aiyash bin Abu Rabi`a. O Allah! Inflict Your Severe Torture on Mudar (tribe) and strike them with (famine) years like the years of Joseph." The Prophet (ﷺ) used to say in a loud voice, and he also used to say in some of his Fajr prayers, "O Allah! Curse soand- so and so-and-so." naming some of the Arab tribes till Allah revealed:--"Not for you (O Muhammad) (but for Allah) is the decision." (3.128)

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ، حَدَّثَنَا ابْنُ شِهَابٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، وَأَبِي، سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ إِذَا أَرَادَ أَنْ يَدْعُوَ عَلَى أَحَدٍ أَوْ يَدْعُوَ لأَحَدٍ قَنَتَ بَعْدَ الرُّكُوعِ، فَرُبَّمَا قَالَ إِذَا قَالَ ‏"‏ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ، اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ، اللَّهُمَّ أَنْجِ الْوَلِيدَ بْنَ الْوَلِيدِ، وَسَلَمَةَ بْنَ هِشَامٍ، وَعَيَّاشَ بْنَ أَبِي رَبِيعَةَ، اللَّهُمَّ اشْدُدْ وَطْأَتَكَ عَلَى مُضَرَ وَاجْعَلْهَا سِنِينَ كَسِنِي يُوسُفَ ‏"‏‏.‏ يَجْهَرُ بِذَلِكَ وَكَانَ يَقُولُ فِي بَعْضِ صَلاَتِهِ فِي صَلاَةِ الْفَجْرِ ‏"‏ اللَّهُمَّ الْعَنْ فُلاَنًا وَفُلاَنًا ‏"‏‏.‏ لأَحْيَاءٍ مِنَ الْعَرَبِ، حَتَّى أَنْزَلَ اللَّهُ ‏{‏لَيْسَ لَكَ مِنَ الأَمْرِ شَىْءٌ‏}‏ الآيَةَ‏.‏
Reference : Sahih al-Bukhari 4560
In-book reference : Book 65, Hadith 82
USC-MSA web (English) reference : Vol. 6, Book 60, Hadith 83
  (deprecated numbering scheme)