If the situation is as you mentioned, that man has to pay Kaffarah, which is emancipating a believing slave. (Part No. 21; Page No. 375) If he cannot do that, he has to observe Sawm (fasting) for two consecutive months, as this is considered
accidental killing May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.