(3)Where any pilgrim dies in the Hedjaz or on the voyage thereto, any person nominated by him in this behalf in writing in the prescribed manner, or, if no person has been so nominated the legal representative of the pilgrim shall be entitled to a refund of any deposit made by the pilgrim under section 273, or, if the pilgrim was in possession of a return ticket, to a refund of half the passage money paid by him.