The present subject matter relates to a femoral component of a hip prosthesis consisting of two parts; a superior (metaphyseal) portion made from biocompatible, non-bioabsorbable material, and an inferior (diaphyseal) portion which is bioabsorbable. The diaphyseal portion will be absorbed by the organism months after implantation thereof, which is the necessary time for definitive attachment of the metaphyseal portion in a suitable position by osseointegration. This assembly allows perfect alignment of the prosthesis during the surgical procedure, the diaphyseal shank acting as a guide in the femoral canal, and due to the small size thereof will enable removal of the superior portion if revision surgery is necessary.