Correct option is A
The correct direct form of the sentence is (a) "Mr. Sharma said to him, 'Has Maya invited you for lunch?'"
The sentence is in the reported speech, and to convert it to the direct form, we need to change the reporting verb "asked" to "said to" and invert the subject and auxiliary verb of the reported question.