The Afzelia quanzensis grows in South Africa, and has beans that look almost identical to this, though the proportions of red and black are variable and can sometimes show up as more black than red on it.
It is commonly called pod mahogany there.
It is not poisonous and is used for jewellery, medicine and animals and birds feed on the tree.
I see one of the other responders knows of another look-alike in SE Asia.
I'm glad to see this article since I might have purchased some if I was in the States and not known the difference.