Medial pterygoid muscle: intraorally lingually to the mandibular ramus