Rami b. Abba (or Rammi b. Abba II;Hebrew: (רמי בר אבא (השני) was a sixth generetion Amora sage of Babylon. In the Talmud it is storied that he applied to Rav Papa and R. Huna b. Joshua with an Halakhaic question (or according to another version, in Dikdukei Soferim, it was Rav Papi and R. Huna b. Tahlifa that he applied to), concerning an Halachic ruling prohibiting one from pulling down a synagogue until he has built another to take its place. The question revolves about a new synagogue Rami b. Abba wanted to build to his fellow-townsmen, by taking bricks and beams from an old synagogue and use them for the new synagogue in a different location and without building a new synagogue in the old location. He was not sure whether he is allowed to pull down the old synagogue in case the whole purpose is to pull down the old synagogue in order to build a new one in a different location. Then he applied to R. Papa who forbade him, and so did R. Huna, who both were in the opinion that the Halachic ruling applies to this case as well, since they were concerned that the old synagogue will be pulled down without any new synagogue being built in its place.
^This is how it is stated in Babylonian Talmud, Tractate Hullin 111a, though in Tractate Bezah 29b, it is stated that it is was Rami bar Hama who was his father-in-law and not Rami b. Abba, and according to Aaron Hyman, in Tractate Bezah 29b it was simply a misprint. However, There are those who think otherwise.