In that case, the company has to give him/her 30 days of notice of termination or else one month's salary.
Clause for Appointment Letter
You should enter the following clause in your appointment letter:
You will initially be on probation for a period of six months from the date of your appointment. The management, however, reserves the right to terminate your services without assigning any reason whatsoever during the probationary period. In case you wish to leave the services of your own accord, during your probationary period or on its completion, the clause of serving notice of one month or salary in lieu will apply. However, during the probationary period, the management may terminate your services by giving a day's notice.