Pakistan spinner Raza Hassan has tested positive for cocaine and faces a two-year ban from all forms of cricket.

The left-armer failed a dope test at a World Anti-Doping Agency accredited laboratory in India after a sample was taken during the Pentangular Cup in Karachi.

Hassan, who has represented his country at one-day international and T20 level, tested positive for the banned recreational drug while playing for Punjab Badshahs.

"The results of the second sample are still awaited but on the basis of the first sample results, the board has already established a two-member committee to chargesheet the spinner and seek an explanation from him," a source close to the Pakistan Cricket Board told the Press Trust of India.

The two-member committee includes former Pakistan Test wicketkeeper Colonel Naushad Ali and a qualified sports medicine doctor.

"The PCB is taking the matter very seriously because this is the first time any player has tested positive for the use of cocaine," the source said.

"If Hassan can't clear himself before the inquiry committee, he faces a two-year ban from all cricket.”

Raza in a Pakistan A fixture // Getty Images

Former Pakistan fast bowler Shoaib Akhtar tested positive for steroids in 2006, the same year fellow paceman Mohammad Asif was also banned for steroid use, but the PCB overturned both bans.

Ex-Australia Test spinner Jason Krejza tested positive to cocaine in 2006, but the off-spinner claimed his drink was spiked and further testing revealed no trace of the drug.

Shane Warne was infamously banned for 12 months on the eve of the 2003 Cricket World Cup after testing positive for a banned diuretic which helps increase the removal of water from the body and also acts as a masking agent.

Warne returned a year later and played on until the 5-0 Ashes whitewash in the summer of 2006-07 before retiring as the game’s leading Test wicket-taker.