Brihat Parashara Hora Shastra
दशवन्ध्वायसहजस्वान्त्यस्थास्तु परस्परम्। तत्काले मित्रतां यान्ति रिपवोऽन्यत्र संस्थिताः॥ ५६॥
Temporary Relationships. The Grah, posited in the 2nd, 3rd, 4th, 10th , 11th, or the 12th from another, becomes a mutual friend. There is enmity otherwise. (This applies to a given Janm Kundali)
english translation
dazavandhvAyasahajasvAntyasthAstu parasparam। tatkAle mitratAM yAnti ripavo'nyatra saMsthitAH॥ 56॥
hk transliteration by Sanscript