The Banu al-Khazraj (Arabic: بنو الخزرج Arabic pronunciation: [ˈbænu l.ˈxæzɾæɡ, -ɾæ(d)ʒ]) was one of the tribes of Arabia during Muhammad's era. The Banu al-Khazraj are renowned for their generosity and hospitality.
Abu Muhammad Al-hasan Ibn Ahmad Al-hamdani mentioned that The Banu Khazraj along with Banu Aws settled the area of Yathrib around the 2nd century ad as part of the PreIslamic Exodus of Yemen due to the Great Dam damage.
However, all sources agree that the Banu Khazraj and Banu Aus became hostile to each other.
During the battle, The Banu Nadir and the Banu Qurayza fought on the side of the Banu Aus, while the Banu Qaynuqa were allied with the Banu Khazraj. The latter were defeated after a long and desperate battle.
The Nusaybah clan family of Jerusalem, Custodians of the Church of the Holy Sepulchre, are descendants of Banu Khazraj. They arrived in Jerusalem with the 7th century Islamic conquest.
Hijrah — 622
Zohair bin Obaid bin Muhammad bin Hussain bin Muhsin Al-Ansari, Al-Khazraji. 17
Zaid Bin Zohair bin Obaid bin Muhammad bin Hussain bin Muhsin Al-Ansari. Al-Khazraji. 17
On 624 Muhammad ordered the assassination of Ka'b ibn al-Ashraf. According to Ibn Ishaq, Muhammad ordered his followers to kill Ka'b because he "had gone to Mecca after Badr and inveighed against Muhammad. He also composed verses in which he bewailed the victims of Quraysh who had been killed at Badr. Shortly afterwards he returned to Medina and composed amatory verses of an insulting nature about the Muslim women". This killing was carried out by the Banu Aus 
When men of the Banu Aus tribe murdered Ka'b ibn al-Ashraf, some Khazraj tribesman including Abdallah ibn Unais went to Muhammad and received a permission to put to death the person responsible for the killing of Sallam ibn Abu al-Huqayq, who was killed during the Expedition of 'Abdullah ibn 'Atik.
Sallam ibn Abu al-Huqayq (Abu Rafi) was a Jew, who helped the troops of the Confederates and provided them with a lot of wealth and supplies, on the one hand  and used to mock Muhammad with his poetry, on the other. When the Muslims had settled their affair with Banu Quraiza; Al-Khazraj tribe, a rival of Al-Aws, asked for Muhammad's permission to kill him (which Muhammad accepted) in order to merit a virtue equal to that of Al-Aws who had killed Ka'b ibn al-Ashraf.
The Nasrids in Granada
In 1228 Ibn Alahmar gathered the remains of the Muslim population cornered in Granada and established Almamlika Alnasria derived from the Ansar of Mecca whom he claimed direct lineage to. The Nasrids. With the Reconquista in full swing after the conquest of Cordoba in 1236, the Nasrids aligned themselves with Ferdinand III of Castile, officially becoming a tributary state in 1238. The state officially becoming the Kingdom of Granada in 1238. The Nasrids had to turn their backs against the Muslims of Cordoba and Seville in order to survive the reconquest.
Initially the kingdom of Granada linked the commercial routes from Europe with those of the Maghreb. The territory constantly shrank, however, and by 1492, Granada controlled only a small territory on the Mediterranean coast. Arabic was the official language, and was the mother tongue of the majority of the population.
Granada was held as a vassal to Castille for many decades, and provided trade links with the Muslim world, particularly the gold trade with the sub-saharan areas south of Africa. The Nasrids also provided troops for Castille while the kingdom was also a source of mercenary fighters from North African Zenata tribes. However, Portugal discovered direct the African trade routes by sailing around the coast of West Africa. Thus Granada became less and less important for Castille and with the unification of Castille and Aragon in 1479, those kingdoms set their sights on conquering Granada and Navarre.
On January 2, 1492, the last Muslim leader, Muhammad XII, known as Boabdil to the Spanish, surrendered complete control of Granada, to Ferdinand and Isabella, Los Reyes Católicos ("The Catholic Monarchs"), after the city was besieged.
See Nasrid dynasty for a full list of the Nasrid rulers of Granada. The most prominent members of the dynasty were:
- Mohammed ibn Alhamar (died 1273), the founder of the dynasty
- Yusuf I (1334–1354)
- Muhammed V (1354–1391), builder of the royal palace within the Alhambra
- Boabdil of Granada, the last of the line, who surrendered in 1492 to Ferdinand and Isabel and was given the Alpujarras mountains to rule to the East of Granada, although he left for Tlemsen in Morocco.
- Abd-Allah ibn Ubaiy — chief
- Sa'd ibn Ubadah, the chief of the Khazraj
- Hassan ibn Thabit —
- Ubayy ibn Kab —
- 'Abd Allah ibn Rawahah
- As‘ad bin Zurarah bin ‘Ads
- Habab ibn Mundhir
- Anas ibn Malik
- Al-Bara ibn Malik
- Sa'd bin Ar-Rabi‘ bin ‘Amr
- Rafi' bin Malik bin Al-‘Ajlan
- Al-Bara’ bin Ma‘rur bin Sakhr
- 'Abdullah bin ‘Amr bin Haram
- 'Ubadah bin As-Samit bin Qais
- Al-Mundhir bin ‘Amr bin Khunais
- Qais bin Sa'd bin Ubadah
- jewishencyclopedia.com 
- jewishencyclopedia.com 
- Watt 1986, p. 771
- The Message Archived May 24, 2012, at the Wayback Machine.
- jewishencyclopedia.com 
- Uri Rubin, The Assassination of Kaʿb b. al-Ashraf, Oriens, Vol. 32. (1990), pp. 65-71.
- Mubarakpuri, The Sealed Nectar, pp.151-153. (online)
- List of Battles of Muhammad
- Mubarakpuri, The Sealed Nectar (Free version), p. 204.
- The foundation of the community By Ṭabarī, pg 100
- Ibn Hajr Asqalani , Fath Al-Bari, p. 7/343.
- The Sealed Nectar The Second ‘Aqabah Pledge on sunnipath.com
- Imamate: The Vicegerency of the Prophet Al-islam.org 
- islamonline.net "Archived copy". Archived from the original on 2010-06-16. Retrieved 2006-12-01.