The correct option is B The stable door being open, the horse was stolen.
Since a condition or event causes another event, a gerund should be used with the previous event to express the condition. Therefore, Option B is correct. The rest of the options do not use a gerund, or use the wrong sequence of events, hence these are incorrect.