Brihat Parashara Hora Shastra
अष्टमे शुभदृग्युक्ते धर्मपे च शुभैर्युते । तीर्थे मृतिस्तदा ज्ञेया पापाख्यैरन्यथा मृतिः ॥ ३७॥
If Randhr Bhava is occupied by, or receives a Drishti from a benefic, while Dharm‟s Lord is yuti with a benefic, the native will die in a shrine. If Randhr Bhava is occupied by, or receives a Drishti from a malefic, while Dharm‟s Lord is yuti with a malefic, death will be in a place, other than a shrine.
english translation
aSTame zubhadRgyukte dharmape ca zubhairyute । tIrthe mRtistadA jJeyA pApAkhyairanyathA mRtiH ॥ 37॥
hk transliteration by Sanscript