Shiva Purana
एवं स गर्भदुःखेन महता परिपीडितः ॥ जीवः कर्मवशादास्ते मोक्षोपायं विचिंतयन् ॥ २९ ॥
Troubled and tormented by the distress in the womb as a result of his past actions the individual soul stays there pondering over the means of liberation.
english translation
evaM sa garbhaduHkhena mahatA paripIDitaH ॥ jIvaH karmavazAdAste mokSopAyaM viciMtayan ॥ 29 ॥
hk transliteration by Sanscript