Actually it's an extraordinary item, as loss of assets caused by fire won't be part of day to day business activity. Hence it shall be treated as cash flows from operating activites.
Go as per what AS 3 and ICAI says. They are always correct. As per my view both answers are correct. But in exam only 1 answer accepted based what assumption you make. Such assumption shall match with ICAI answer then only you will be rewarded marks. :)
Insurance claims received against loss of stock or loss of profits are extraordinary
operating cash inflows for all enterprises.
Insurance claims received against loss of fixed assets are extraordinary investing
cash inflows for all enterprises.