Ansar (Arabic: الأنصار al-Anṣār, “The Helpers”) is an Islamic term for the local inhabitants of Madinah who took the Prophet Muhammad (SAWS) and his followers (the Muhajirun) into their homes when they emigrated from Makkah (hijra).
They belonged to two main tribes of Azd, the Banu Khazraj and the Banu Aus. Azd is the same tribe that Ghamd tribe and Zahran tribe belong to.