Morphine belongs to the opiates class of drug compounds. Morphine is detectable in the urine for several days after an opiate dose.