Valmiki Ramayana Bala Kanda Sarga 36 Shloka 21
Original Shlokaयस्मान्निवारिता चैव सङ्गति: पुत्रकाम्यया। अपत्यं स्वेषु दारेषु तस्मान्नोत्पादयिष्यथ।।1.36.21।।
1 source checked for this shloka
यस्मात् for the reason, पुत्रकाम्यया with a desire to bear son, सङ्गति: union with Mahadeva, निवारिता is prevented, तस्मात् for that reason, स्वेषु in your, दारेषु wives, अपत्यम् progeny, नोत्पादयिष्यथ you will not produce.