Dear Sonal,
Your friend cannot find any place to claim exemption under section 54F as the Capital Assets transfered i.e. Shares listed in Nasdaq, was short term Capital Asset.
Also you need to take care of following;
1) Claim all possible cost in relation to purchase/excercise of rights.
2) Income/Capital Gain is to be considered after converting USD in Rupees as per rule 115 of IT Rules.
3) Claim benefit of Indo-US DTAA for taxes paid in US.
4) Your friend may also require to repatriate such amount in India with in Six months by virtue of FEMA.
Thanks and Regards