Jami` at-Tirmidhi, Book 32, Hadith 17 (Tirmidhi 2217)

Ibn 'Abbas narrated that the Messenger of Allah (s.a.w) said:

"There are two groups in my Ummah for whom there is no share in Islam: The Murji'ah and the Qadariyyah." Another chain reports a similar narration.