A hit-and-run survivor caught with cannabis used the drug to manage his pain, a court heard.
Khalid Sheikh, of Clara Street in Birkby, pleaded guilty to possession of the class B drug.
Kirklees magistrates heard that police carried out a search of his home on August 3.
The 48-year-old was there together with other family members and the officers found cannabis worth more than £500.
Prosecutor Vanessa Jones said: “Mr Sheikh said he used the cannabis for medical reasons because he’d been in an accident.
“He buys an ounce at a time and said he would sometimes go into his adult son’s room to smoke it.”
Magistrates heard that Sheikh had been left unable to bend his right leg after being the victim of a hit-and-run incident in 2003.
He’d suffered problems with his ligaments as well as spinal injuries and begun to self-medicate by taking cannabis.
The father-of-three was handed a curfew for eight weeks as punishment.