Matthew 27:5-7 NIV

5 So Judas threw the money into the temple1 and left. Then he went away and hanged himself.2

References for Matthew 27:5

6 The chief priests picked up the coins and said, "It is against the law to put this into the treasury, since it is blood money."
7 So they decided to use the money to buy the potter's field as a burial place for foreigners.