John 19:24himation
They said therefore among themselves, Let us not rend it, but cast lots for it, whose it shall be: that the scripture might be fulfilled, which saith, They parted my raiment among them, and for my vesture they did cast lots. These things therefore the soldiers did.
Soldiers cast lots for Jesus' vesture, fulfilling the psalm.
Matthew 27:35himation
And they crucified him, and parted his garments, casting lots: that it might be fulfilled which was spoken by the prophet, They parted my garments among them, and upon my vesture did they cast lots.
Matthew also links the crucifixion lots to the prophecy.