Posted this long time back on the blogger blog. Here it is again.
O God! Behold, I ask of Thee the good through Thy knowledge, and ability through Thy power and beg (Thy favours) out of Thine infinite bounty.
For behold Thou hast power; I have none. Thou Knowest, I know not; and Thou art the Great Knower of things hidden.
O God! If in Thy knowledge, this matter be good for my faith, for my livelihood, and for the issue of mine affair (or for the beginning or end thereof), then ordain it for me, and make it easy for me, and bless me therein.
But if in Thy knowledge, this matter be bad for my faith, for my livelihood, and for the issue of mine affair, or for the commencement and end thereof, then turn it away from me, and turn me away therefrom, and ordain for me the good wherever it be, and cause me to be pleased therewith.
(Dua Istikhara, Prayers of Mohammed, Abdul Hamid Farid)