Migrants’ right to settle in the UK will be dependent on them not claiming benefits, Shabana Mahmood will declare on Monday.