Tax on Retention bonus returned back


I recieved a retention bonus of INR 10Lac from my company in two installments

  1. INR 5 Lacs in April 2019
  2. INR 5 Lacs in April 2020

With the clause that if I leave the company before April 2022 then I will have to return the comlete amount to the company.
I had to pay 30% tax on the two installments that I received in the respective financial years. So actually I received 3.5 Lacs in each of the two installments.
Now I am leaving the company in July 2021 and I have to return 10Lacs to the company as per the clause.

But how do I claim the tax of amount 3 Lacs on this 10Lacs that I paid to the Income tax department. Is there any way I can do that?

Thanks in advance.

Experts please help…

@AkashJhaveri @Saad_C @Laxmi_Navlani @Divya_Singhvi @Kaushal_Soni can you help?