The Bagepalli police have detained a Pakistani woman and her son for allegedly residing in India illegally using a voter ID and a ration card after the expiry of their visas.