A 58-year-old Grantham man appeared at court and pleaded guilty to having one gram of cannabis in his possession.
Prosecutor Shelley Wilson described how police executed a search warrant on the Stirling Court home of Kevin Mills at 9.40am on January 22.
They found a clear bag containing a substance later identified as the class B drug, traces of which were also found in a rolled up cigarette.
Defending, Rob Arthur said that Mills had the cannabis for his own personal use, due to a neurological condition.
He added that his client had fully co-operated with police at the scene.
Mills received a conditional discharge lasting six months, and must pay prosecution costs of £85 and a victim surcharge of £15.
An order for the forfeiture and destruction of the drugs was also made by magistrates.