A Bradford College student thrown off his course after he was caught red-handed selling cannabis outside the campus’s David Hockney Building must apologise to his parents for bringing shame on them, a judge said today.

Mohammed Khanan was in the final year of a Health and Social Care course when he was apprehended with 15 small bags of the drug worth £120 and three phones, Bradford Crown Court heard.

Khanan, 19, of Blamires Street, Great Horton, Bradford, pleaded guilty to possession of cannabis with intent to supply on April 9 last year.

He was 18 when he was spotted by security officers selling the drug from a man bag outside the college building, prosecutor Camille Morland told the court.

Evidence from one of the phones showed he had been dealing between April 2 and 6.

One potential customer asked for “big fat bags of cannabis.”

Khanan’s barrister, Robin Frieze, said he was only 18 when he committed the offence 18 months ago.

He was using cannabis at the time and made the decision to sell it for commercial reasons. He was a student on a low income.

Mr Frieze said Khanan had been punished already by being thrown off his college course when he was in the final year.

He was now working at the family’s shop.

Judge Jonathan Rose sentenced him to nine months’ in a young offender institution, suspended for two years, with 180 hours of unpaid work.

He told Khanan he had come “within inches” of being locked up.

But he had no previous convictions and had not been in any trouble since.

“You will apologise to your parents for the shame you have brought on them,” Judge Rose said.