The Rambam has a surprising ruling regarding the case of a person who recited a different Beracha than the Beracha he had intended to recite. One example is a person who is reciting Birkot Ha'shahar (the morning blessings), and while reciting the Beracha of "Poke'ah Ivrim" – fully intending to recite this Beracha – he mindlessly completed the Beracha with the words "Matir Asurim," instead of "Poke'ah Ivrim." The Rambam rules that the person has fulfilled the requirement to recite "Poke'ah Ivrim," despite the fact that he recited the wrong words. Hacham Bension Abba Shaul (Jerusalem, 1924-1998) explains that according to the Rambam, the critical component of a Beracha is the recitation of the words "Baruch Ata Hashem Elokenu Melech Ha'olam" with the intention of completing the Beracha. Of course, we are supposed to complete the Beracha properly, verbally expressing our intentions. But if a person mistakenly failed to do so, then although he ended up reciting the wrong Beracha, he is credited with the recitation of the Beracha that he had intended to recite. Others, however, disagree with the Rambam, dismissing this novel theory, and insisting that a person cannot be credited with the recitation of a Beracha unless he indeed recited it properly. The Shulhan Aruch brings both opinions. Hacham Bension ruled that given the different opinions on this matter, a person who intended to recite one Beracha but instead recited a different Beracha which he was required to recite is credited with the recitation of both Berachot. In the case described above, then, the individual is considered to have fulfilled both the requirement of "Poke'ah Ivrim" and the requirement of "Matir Asurim." It should be noted, however, that if the person realized his mistake immediately after reciting the wrong text, within a couple of seconds, then he should right away correct his mistake. He will then be credited with reciting only the Beracha he had intended to recite, as he immediately corrected his mistake and recited the Beracha he had intended to recite. Summary: If a person intended to recite a certain Beracha that he was required to recite, but he mindlessly recited a different Beracha which he was required to recite, then he is credited with the recitation of both Berachot. For example, if a person intended to recite the Beracha of "Poke'ah Ivrim" in the morning, but mistakenly concluded the Beracha with the words "Matir Asurim," he is considered to have recited both Berachot. However, if he realizes he mistake within a couple of seconds after reciting the Beracha, he should immediately correct himself, and will then be credited with reciting only the Beracha he had intended to recite.