The correct option is A did not invite
The given sentence 'We ____ Rubina to the party' describes an action that was completed in the past.
When we speak of a past action in the negative, we usually introduce the words 'did not'.
Option B: 'Did not invite' is in the simple past tense and describes an action that happened in the past. 'Did' is a past verb and expresses the past tense, hence 'invite' is not conjugated here, and appears in its base form.
It's the most suitable option, hence B is correct.
Option A: Since 'did' expresses the tense, we do not conjugate the verb 'invite'. Hence this verb phrase 'did not invited' is grammatically incorrect.
Option C: 'Was not invited' is in the passive voice; it describes an action received by a subject.
But, the given sentence is in active voice (the word 'by' is not present here 'was known by'; this word is used in the passive voice) where the subject 'We' performs an action.
Option D: 'Had not invited' describes a past perfect action; it describes an action that completed just before another commenced.
This tense describes the action that happened before, 'Rubina misbehaved the last time', and not the one after 'we did not invite her'.
Hence option D is incorrect.