Mark 15:45

45 When he learned from the centurion that it was so, he gave the body to Joseph.

Read Mark 15:45 Using Other Translations

And when he knew it of the centurion, he gave the body to Joseph.
And when he learned from the centurion that he was dead, he granted the corpse to Joseph.
The officer confirmed that Jesus was dead, so Pilate told Joseph he could have the body.