
The deceased were identified as Rajon and Hasib of Bagmara in Rupsha upazila of the district.
Shafiqul Islam, officer-in-charge of Sadar Police Station, said the attackers intercepted a motorbike carrying the duo when they were leaving the court premises after attending a hearing around 12:30 pm.
At one stage, the attackers opened fire on them and stabbed them indiscriminately, leaving them injured.
The gunmen fled the scene immediately after the gun attack, he said.
Later, they were taken to Khulna Medical College and Hospital where the doctors declared them dead.
Police have cordoned off the area and launched an investigation.
A tense situation has been prevailing in and around the court premises over the incident, reports UNB.