The interrogative hamzah is written joined to the word that follows it.

Past-Tense Verbal Questions