He appears before Ahmed, so it is a correct cataphoric reference.
Previous Question
Q20. Cataphoric reference is most commonly found in:
Next Question
Q22. The students submitted their assignments, and the teacher graded it. What is the error?