I’ve seen it time and time again, nothing destroys siblings more than when the parents die and they fight over the house. Weirdest thing.
I’m in 2 minds: because you wrote he went to jail for abusing your mom, I’d be inclined to do nothing for him that would help him. I’d force a sale, split the money and go away. But, family is never so simple, and you clearly love the guy, so...
Depending on your own situation and not needing the house or money, I’d take whatever from the house you want to remember your parents, then let him have the house and 5k and you take the rest of the cash. He gets a place to live, and some money but not enough to completely waste. If he ends up losing the house, that’s on him. You get less but you achieve your goal of helping him have somewhere to stay that isn’t with you, and you get to be responsible with the money. You frame it as selling your $25k interest in the house for $9k of his cash.
I’d give your brother those two options and let him pick.