Police broke into a Spalding man’s flat and found eight small bags of cannabis.
Darren Osborne (29), of Pinchbeck Road, was out at the time police executed the search warrant.
His solicitor Mike Alexander told magistrates: “He is going to be homeless very soon because his landlord says it was his fault that the door was broken into.”
Osborne pleaded guilty at a previous hearing to possession of the drug.
At Thursday’s resumed hearing, Spalding magistrates sentenced him to a year’s probation.
He must pay a £60 victim surcharge, but no costs because of his limited means.
Marie Stace, prosecuting, said Osborne told police he was not sure the cannabis was his – as others had access to the flat – but admitted smoking the drug daily.
Mr Alexander said Osborne uses the drug to help combat a drink problem.
Presiding magistrate Ian McDonnell told Osborne he could approach “excellent agencies” Addaction or DART.
He said: “If they don’t want to give you any help, see your GP.”