Valmiki Ramayana Yuddha Kanda Sarga 59 Shloka 112
Original Shlokaशक्त्याब्राह्म्याहिसौमित्रिस्ताडितास्तुस्तनान्तरे । विष्णोरचिन्यन्त्यंस्वंभागमात्मानंप्रत्यनुस्मरत् ।।6.59.112।।
1 source checked for this shloka
सौमित्रिः Saumithri, ब्राह्म्या shoulders, शक्त्या by the javelin, स्तनान्तरे in the chest, ताडितास्तु wounded, विष्णोः Vishnu, अचिन्त्यम् inconceivable, स्वम् him, आत्मानम् own self, अनुस्मरत् recalled.
Even though Saumithri was wounded in the chest and the power of Brahma entered (into his chest) he recalled himself as an inconceivable form of Vishnu.