For third person, choose the detached pronoun that matches the past form.
Past formNominal orderدَخَلَهُوَ دَخَلَدَخَلَاهُمَا دَخَلَادَخَلُواهُمْ دَخَلُوادَخَلَتْهِيَ دَخَلَتْدَخَلَتَاهُمَا دَخَلَتَادَخَلْنَهُنَّ دَخَلْنَ
The dual pronoun هُمَا serves both masculine and feminine; the verb form shows the distinction.