The Messenger of Allah ﷺ used to supplicate in prayer when he said: "Sami' Allahu liman hamidah, Rabbana wa lakal-hamd (Allah hears those who praise Him; O our Lord, and to You be praise),"then he said while standing, before he prostrated: "O Allah, save Al-Walid bin Al-Walid and Salamah bin Hisham and 'Ayyshah bin Abi Rabi'ah and those who are weak and oppressed in Makkah. O Allah, intensify Your punishment in Mudar and give them years (of famine) like the years of Yusuf." Then he would say: "Allah is Most Great" and then he prostrated. The people of Mudar and their environs were opposed to the Messenger of Allah ﷺ at the time. (Using translation from Nasāʾī 1074)
أَنَّ رَسُولَ اللهِ ﷺ كَانَ يَدْعُو فِي الصَّلَاةِ حِينَ يَقُولُ «سَمِعَ اللهُ لِمَنْ حَمِدَهُ رَبِّنَا وَلَكَ الْحَمْدُ» ثُمَّ يَقُولُ وَهُوَ قَائِمٌ قَبْلَ أَنْ يَسْجُدَ «اللهُمَّ أَنْجِ الْوَلِيدَ بْنَ الْوَلِيدِ وَسَلَمَةَ بْنَ هِشَامٍ وَعَيَّاشَ بْنَ أَبِي رَبِيعَةَ وَالْمُسْتَضْعَفِينَ مِنَ الْمُؤْمِنِينَ اللهُمَّ اشْدُدْ وَطْأَتَكَ عَلَى مُضَرٍ وَاجْعَلْهَا عَلَيْهِمْ كَسِنِي يُوسُفَ» ثُمَّ يَقُولُ «اللهُ أَكْبَرُ» فَيَسْجُدُ وَضَاحِيَةُ مُضَرٍ يَوْمَئِذٍ مُخَالِفُونَ لِرَسُولِ اللهِ ﷺ