Narada Purana (Jyotisha Selections) · by Vyasa
Chapter 2 · Signs, Planets, Birth
जातकम् १
लग्नेंदुगैः शुभैः खेटैस्त्रिकोणार्थास्तभूखगैः ।पापैस्त्रिषष्ठलाभस्थैः सुखी गर्भो रवीक्षितः ॥ ५० ॥
In the full Narada Purana (Purva Bhaga) this is chapter 55, verse 50.
Good planets stand in the lagna (rising sign) and with the Moon. They also stand in the trikona (luck house) places, and in the 2nd, 7th and 4th. Bad planets stand in the 3rd, 6th and 11th. The Sun looks on. Then the child in the womb is happy.
Simple meaning: Good planets in good houses, bad ones in the 3rd, 6th and 11th, and the Sun's look give a happy pregnancy.
ओजभे पुरुषांशेऽर्केज्येंदुलग्नैर्बलान्वितैः ।
A boy is born when these planets are strong in odd signs and male navamsha.
युग्मभांशस्थितैस्तैस्तु वक्रेंदुभृगुभिस्तथा ।
A girl is born when those planets are in even signs, or Mars, Moon and Venus are in even places.
द्व्यंगस्था बुधसंदृष्टाः स्वपक्षेय मलंकराः ।
Planets in dual signs seen by Mercury can give twins. Saturn in an odd house away from the lagna gives a boy.