First of all, the retirement of the employee, particularly when the alleged misconduct is fraud, must be subject to action as per rules, depending on the outcome of the disciplinary action. You can withhold gratuity until the decision of the departmental inquiry by issuing a specific order to that effect, subject to the provision that if the employee is exonerated of the charges, he shall be paid gratuity along with interest as notified (10% simple interest).