Brihat Parashara Hora Shastra
चन्द्रात् स्वान्त्योभयस्थे हि ग्रहे सूर्यं बिना क्रमात् । सुनफाख्तोऽनफाख्यश्च योगो दुरधराह्वयः ॥ ७॥
Sunaph, Anaph and Duradhar. If there is a Grah other than Sūrya, in the 2nd from Candr, Sunaph Yog is formed, if in the 12th from Candr, Anaph Yog is formed and, if in the 2nd and 12th from Candr, Duradhar Yog is caused.
english translation
candrAt svAntyobhayasthe hi grahe sUryaM binA kramAt । sunaphAkhto'naphAkhyazca yogo duradharAhvayaH ॥ 7॥
hk transliteration by Sanscript