If a person prays outside the room where the Minyan is taking place, or in an adjoining room, and he hears the entire service and fully participates, does he receive the same credit for praying with a Minyan as those inside the sanctuary? Halacha establishes that men in a different room – or, for that matter, in the ladies' section – cannot be counted toward the Minyan, as ten men must be together in the same room to form a Minyan. But once a Minyan is formed, are those outside the room considered to be praying with a Minyan? The Hida (Rav Haim Yosef David Azulai, 1724-1806), in his Mahazik Beracha, cites the Malki Ba'kodesh (Rav Ezra Malki, 1710-1768) as stating that those who pray together with a Minyan, and can hear the Hazzan, are credited with praying with a Minyan even if they are not in the room. By contrast, the Hayeh Adam (Rav Abraham Danzig, Vilna, 1748-1820) maintained that one is not considered to pray with a Minyan unless he prays in the room where the Minyan is taking place. An intriguing middle position is taken by the Radbaz (Rav David Ben Zimra, Egypt, 1479-1573). He rules that a person outside the room is considered to pray with a Minyan if people in the Minyan need to pass through his location in order to exit. Thus, for example, if a person prays in a hallway outside the sanctuary, and the people in the sanctuary need to pass through that hallway to leave the building, then the sanctuary and the hallway are sufficiently connected for him to be viewed as part of the Minyan. If, however, the people do not need to go through his area to exit – such as if he prays in the ladies' section, or in an adjoining room – then he is not considered to pray with a Minyan. As for the final Halacha, both the Aruch Ha'shulhan (Rav Yechiel Michel Epstein, 1829-1908) and the Hazon Ish (Rav Avraham Yeshaya Karelitz, 1878-1953) wrote that one may follow the lenient position. This is the conclusion also of Hacham David Yosef, in Halacha Berura. Therefore, one who can hear the Hazzan and participates with the Minyan receives credit for praying with a Minyan even if he is not in the room where the Minyan is taking place.