This was not Mary’s husband. It was another man named Joseph.
The two men asked Pilate to permit them to take Jesus’ body down from the cross in order to bury it.