The convicts are Kamrul Islam of Narsingdi, Shawkat of Gazipur, Mizan and Shaheen Miah of Netrokona.
Gazipur District and Sessions Judge AKM Enamul Haque handed down the verdict in the morning.
The court also fined the convicts with Tk 10,000 each.
According to the case statement, the convicts snatched a CNG-run auto-rickshaw after hacking its owner to death and injuring the driver at Khanspara area of Sreepur on January 19 in 2012.
Later, a case was filed with Sreepur Model Police Station.