PRAYER FOR SEEKING ALLAH'S HELP IN THE NAME OF THE
PROPHET (S) AND IMAM ALI (A)
The following is also quoted from this respectable book:
Imam al-Sadiq(a.s.) is reported to have said: Whoever of you intends to seek the aid of Almighty Allah (in the name of His Intimate Saints), may offer a two unit prayer and then prostrate himself and say the following:

You may then mention the names of the Holy Imams (a.s.). Following this, you may add the following:

Once you do so, they will intercede for you to Almighty Allah to grant you His aid at that very moment, if He wills.