Sahih Bukhari | Volume 3 | Hadith Number 316

Narrated by Ibn 'Abbas
Once the Prophet got his blood out (medically) and paid that person who had done it. If it had been illegal, the Prophet would not have paid him.