Supplying “inhabitants” in explanation of “ask the town” does not make it part of the recited wording.
Qur’anic Ellipsis (Ḥadhf): Implied Words, Relationships and Rhetorical Brevity
Qur’anic Ellipsis (Ḥadhf): Implied Words, Relationships and Rhetorical Brevity