The Prophet (may Allah's peace and blessings be upon him) used to teach his Companions Istikhārah , showing as much care in doing so as he would when teaching them a chapter from the Qur'an. His teaching was that one prays two voluntary Rak‘ahs. After finishing the prayer, one should ask Allah to guide him to the best of the two or multiple affairs he is considering, because Allah knows the essence and details of everything. Only the One who knows well knows which of two things is better. No one knows the best of the choices, except the One with knowledge. This description applies to Allah alone. One should also seek power from Allah for the best of affairs for him. One should further ask from Allah's great bounty, because Allah has power over all exigencies that man's will is attached to. Man does not have such power. Also, Allah knows everything as a whole and in its constituent parts, whereas man knows nothing except what Allah teaches him. Nothing of the unseen eludes Allah's knowledge. One should name his need and ask Allah to make it easy and blessed for him, and that it should be good for his religious or worldly wellbeing. Meanwhile, if it will diminish one's religion or life, one should pray that Allah keeps it away and decrees something that is good and satisfactory instead of it.