I asked him…/he asked me…

-냐고

Verb stem + 냐고 + question related word

학생이에요? = Are you a student?
학생 + 이 (verb stem) + 냐고
학생이냐고 물어봤어요 = They asked me if I was a student.
I asked her if she was a student.

저한테 어디 가냐고 말했어요.
He asked me where I was going.

몇 시에 올 거냐고 물어보세요
Ask him what time he will come here.

저도 가야 되냐고 물어봐 주세요
Please ask them if I have to come along too.