The workers were constructing a toilet at a school next to the temple in Faridpur’s Madhukhali Upazila
Locals said Rajib, 22, and Al Amin, 20, went down the tank of the building at Kalibarhi Road around 11am on Saturday.
Local residents pulled them out sometime later after getting no response from them for a while.
A doctor at Bhola Sadar Hospital declared them dead.
Bhola Model Police Station OC Mir Khairul Kabir said the bodies would be handed over to the families after autopsy.