Ramayana
स हि तस्य मयो राम शापाभिज्ञस्तपोधनात् । विदित्वा तेन सा दत्ता तस्य पैतामहं कुलम् ॥ 7-12-20 ॥
For that Maya, O Rama, being aware of the curse arising from the sage rich in penance, and knowing the venerable lineage of Ravana's forefathers, gave her to him.
english translation