Whoever seeks the counsel of the Creator will not regret it and whoever seeks the advice of the believers will feel confident about his decisions. Allah said in the Qur’an: “And consult them in the affair. Then when you have taken a decision, put your trust in Allah”.
Al-Bukhari 7/162 and Aal-‘Imran 3:159.
Jabir bin Abdullah (Radi Allahu anhu) said : The Prophet (Peace be upon him) used to teach us to seek Allah’s Counsel in all matters, as he used to teach us a Surah from the Qur’an. He would say When anyone of you has an important matter to decide, let him pray two Rak’ahs other than the obligatory prayer, and then say
“O Allah, I seek the counsel of Your Knowledge, and I seek the help of Your Omnipotence, and I beseech You for Your Magnificent Grace. Surely, You are Capable and I am not. You know and I know not, and You are the Knower of the unseen.
O Allah, if You know that this matter [then mention the thing to be decided] is good for me in my religion and in my life and for my welfare in the life to come, – [or say: in this life and the afterlife] – then ordain it for me and make it easy for me, then bless me in it.