Pakistans legspinner Abrar Ahmed is being treated in hospital after being taken ill, according to ESPNcricinfo.