Hafeez considering retirement due to ‘discriminatory treatment’