Is there any plugin to do "If user enter reference of already registerd and active user while r

Is there any plugin to do "If user enter reference of already registered and active user while registration then that user get approved automatically"?