Hello Noha, It's, for sure, "ask him how old he is." is the correct one. This is a sentence, when we use w/h questions in the form of sentences we don't exchange positions of the subject and the to-be or to-have verbs. You would say "How old is he?" if you are asking.
Good luck.