Sunan an-Nasa'i, Book 45, Hadith 81 (Nasa'i 4796)

Abu Hurairah said:

"The Messenger of Allah said: 'If a person's relative is killed, he has the choice of two things: Either he may retaliate, or he may take the ransom."'