Mr. and Mrs. Schwartz have a child below the age of chinuch named Yaakov. Mrs. Schwartz was up late Monday. She tells her husband that she's very tired and would like to know if he can watch Yaakov while she takes a half-hour nap in the afternoon. Mr. Schwartz agrees to watch Yaakov while she takes a nap.
Unbeknownst to Mr. Schwartz, he didn't realize that the time when his wife was going to take a nap, was at Mincha time. Mincha is about to start in five minutes. His wife is already asleep in and he doesn't want to cause Shalom Bayis problems.
Mr. Schwartz is a Jew that abides by halachah. He knows that the Birkei Yosef says “It’s prohibited [for a father] to sit his young child in front of him during tefillah [davening].” (Mishnah Berurah 96:4) Because during tefillah, “A person should remove all thoughts which disturb him.” If a one’s child is running around or making noise during davening (especially shemonah esrei), not only can’t he daven properly, but neither can anyone else. [Shulchan Aruch, Orach Chayim, Hilchos Tefillos 98] On the other hand, he also knows that davening with a minyan is very important.
Should Mr. Schwartz bring his child to shul, if he knows that his child will be a disturbance to other people or daven at home? (i.e. b'yichidus - by himself)
Does בין אדם לחבירו take priority over בין אדם למקום? i.e. letting his wife sleep and taking his child to shul or not disturbing people who trying to converse with Hashem and davening at home.
Is there any halachic source that deals with this situation?