Question:
Is it better to daven in one's makom kavua in a beis medrash and b'rov am, or to daven in a shiva house (where they will have a minyan even if I don't come)? On the one hand, there is a mitzvah to daven in your makom kavua, in a beis medrash, and with many people, but to daven in a shiva house is also a mitzvah
Answer:
It is true that there are benefits to davening in the shul, but if they need you for the minyan then daven by the avel, or if this is what works best for you for the timing of being menachem avel. ten daven there.
Best wishes