Employees can't be retained solely by offering a salary hike. Employee retention is directly proportional to employee satisfaction. Dissatisfaction can arise due to various reasons such as salary issues, role conflicts, organizational culture discrepancies, reporting problems, management concerns, work overload, and more. Therefore, it is HR's responsibility to identify the reasons behind employees taking such steps and to take necessary actions.
In response to your query, yes, you can retain an employee by offering a salary increase. However, do this only if the employee is a high performer and is currently underpaid based on their capabilities, or if their departure would significantly impact the performance of their department. Otherwise, refrain from offering a salary hike, as some employees may attempt to leverage resignations for higher pay.
There are instances where HR is compelled to retain an employee due to resource scarcity for a specific position. This aspect should also be considered.
Regarding legal action, the opposing company cannot take any action against your company or the candidate. Typically, an offer letter does not contain legal terms and conditions, so there are no obligations on the candidate's part. However, some companies, including real estate firms, have started issuing combined offer and appointment letters prior to or on the day of joining. If this is the case for the new company, the candidate must adhere to the terms stated in the letter, or else the company may take action against them. Your company is protected in any scenario.
Regards