[Al-Bukhari and Muslim]
Commentary: Literally Istikharah means seeking goodness from Allah through a particular prayer. This Hadith lays emphasis on it and displays its significance. We should, therefore, practise Istikharah regarding every important matter. However, it is imperative only in cases where one is ignorant of good and evil. Yet, with regard to obligatory and indisputable rules, practices of the Prophet (PBUH) and commendable deeds, no Istikharah is allowed. Similarly, commands and prohibitions of the Shari`ah are categorical and nobody is allowed to seek further guidance by performing Istikharah prayer. Moreover, to set aside the example of the Prophet (PBUH) of Istikharah, and to trust astrologers, palmists and soothsayers seeking the knowledge of future events is sheer ignorance and unpardonable error. The knowledge of the Unseen (or Ghaib) is the domain of Allah Alone and man is supposed to seek His Blessings. Only Allah is Omnipotent and humans must turn to Him to seek inspiration and strength, trusting everything to His Care.
Istikharah prayer can be offered at any time except in the forbidden hours for prayer because the performance of two Rak`ah is a prerequisite to it. Some people think that the right time for it is before going to bed. This is not true. This supplication (Du`a) can be offered even after performing the two Rak`ah of Istikharah prayer, or before Taslim (i.e., saying Assalamu `Alaikum to conclude the prayer) after Tashahhud or in the state of prostration. If somebody does not know this Du`a by heart, he can, after performing the prayer, read it from some prayerbook. PageV01P908