Kurayb (may Allah have mercy on him) narrates from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that a man came to him and said: I have vowed to slaughter myself. The narrator said: At that time there was a man with Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) who wanted to go out for jihad, and his parents were also present, and Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) was telling him: Stay with your parents. The narrator said: He (the one who had made the vow) began to say: I have vowed to slaughter myself. So Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: What am I to do with you? Go and kill yourself. When Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) had finished with that man and his parents, he said: Bring that man to me. They went and found him preparing to slaughter himself. They brought him to Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both), and Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: You tried to make three things lawful: 1. violating the sanctity of the sacred city; 2. severing the ties of kinship, for your own self has the greatest right to have its ties kept; 3. and shedding forbidden blood. Do you have a hundred camels? He said: Yes. He said: Go and slaughter a third of the camels every year, but do not let the meat go to waste.
(b) Kurayb (may Allah have mercy on him) said: I was present for two years, but in the third year I was not present, and I do not know whether he did (so) or not.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 20084