Various embodiments of a pharmaceutical composition for closing or sealing an opening or a bleeding site such as a vascular puncture site following percutaneous diagnostic or therapeutic interventional procedures or any other non-vascular conduits such fistulas formed within the organs of the body. The injectable composition includes a formulation comprised of a hemostatic compound and a bioadhesive that can be injected at a positioned adjacent to the puncture site in the vasculature, or injected into the non-vascular lumen to fill the conduit created at the puncture site. In some embodiments, the formulation also contains an analgesic agent to reduce pain at the puncture site and provide comfort to the patient. In other embodiments, the formulation contains a pro-healing agent to promote the healing process of the puncture site or the non-vascular conduit.