Section 100(ii) in The Indian Succession Act, 1925
(ii)A, having a niece of illegitimate birth, who has acquired the reputation of being his neice and having no legitimate niece, bequeaths a sum of money to his niece. The illegitimate niece is entitled to the legacy.