Shaykh al-Islam Ibn Taymiyah (may Allah have mercy on him) said:
With regard to that which no one but Allah, may He be exalted, is able to do, it is not permissible to seek it from anyone except Allah, may He be glorified; it should not be sought from the angels or from the Prophets or from anyone else. It is not permissible to say to anyone other than Allah: ‘Forgive me’ or ‘Grant us rain or ‘Grant us victory over the disbelieving people’ or ‘Guide our hearts’ and so on. Hence at-Tabaraani narrated in his Majma‘ that at the time of the Prophet (blessings and peace of Allah be upon him) there was a hypocrite who used to annoy the believers, so they said: Let us go and seek the help of the Messenger of Allah (blessings and peace of Allah be upon him) against this hypocrite. So they came to him and he said: “Help should not be sought from me; rather it should be sought from Allah.”
End quote from Majmoo‘ al-Fataawa (1/329)