In the first Rakat after Alhamdu pray ‘Qul Yaa Ayyuhal Kafiroon’ and in the second Rakat after Alhamdu pray ‘Qul Huwallaho Ahad’ and then pray the following Dua and with Wudhu face the Qibla and go to sleep. At the beginning of the Dua and at the end pray Alhamdu and Durood . The Dua is as follows;
“Allahumma inni Astakhiruka Bi ilmika Wa Astakdiruka Bi Qudratika Wa As’aluka Min Fadlikal Azueemi Fa innaka Taqdiru Wala Aqdiru Wa Ta’lamu Walaa A’lamu Wa anta Allamul Ghuyub Allahumma In kunta Ta’lamu Anna Hazal Amra Khairulli Fi Deeni Wa Ma’aashi Wa Aaqibati Amri Wa Aajili Amri Wa’Aajilihi Faqdurhuli Wa Yasirrihuli Summa Baarikli Feehi Wa’inkunta Ta’lamu Anna Hazal Amra Sharruli Fi Deeni Wa ma’aashi Wa’Aaqibati Amri Wa Aajili Amri Wa Aajilihi Fa”Asrif’hu Anni Wa as’rifni Anhu Waqdur liyal Khaira Haiysu Kaana Summa Raddini Bihi”
At both ‘Al Amra’ mention your request. Just like in the first one say ‘Haza Safara Khairuli’ and in the second one say ‘Haza Safara Sharruli’ [Guniya].
When should Istikhara be done ?
1 There is no Istikhara for pious actions such as Hajj, Jihad etc. However, you can perform Istikhara to designate a fixed time for them [Guniya].
Salaah of Istikhara