An Ilkeston man has been ordered to pay back £8,830 seized by police following a search of his Factory Road home.
Craig Layton, 38, will also be made to pay £900 costs.
The case against Layton began in December 2012 when emergency services were called to a fire at his Factory Lane house.
Officers searched the premises and found drugs and a large amount of cash.
He was charged with possession with intent to supply amphetamines and possession of MDMA and the money was seized.
He admitted possession of MDMA but denied possession with intent to supply amphetamines and was found guilty of a lesser charge of possession of amphetamines at Derby Crown Court in November 2013.
Layton was given a community sentence and ordered to carry out 100 hours of unpaid work.
The Proceeds of Crime Act means that anyone who profits from crime can lose any financial gain.