There will be two case :-
1st : Sandwich will be applicable as being going on leave in constitutive two weekends (sat-sun - before going on leaves and after the diwali holiday ). so this should be consider a sandwich and leaves will be deducted.
2nd : Being worked on friday before weekoffs(preceding of leave) so if HR policy can allow sandwich rule will not be applicable.
Also in sandwich rule he can apply for leaves but approval is in hand of HR and manager.