Hazrat Ata says that the Holy Prophet (peace and blessings be upon him) forbade this on the day of Khaybar.