Holy Prophet Hazrat Muhammad (PBUH)'s grand grandfather was Hashim ibn Abd Manaf , for whom the tribe is named. Members of this clan are referred to as Hashmi .
Banu Hashim is a clan in the Quraysh tribe . So the Family of the Prophet Hazrat Muhammad (PBHU) was Hashmi and the Tribe was Quraish.