Hadith 1281:2
Sufyan narrated to us, from Ubaydullah, from his father, from Umm Ayyub, who said: The Messenger of Allah (peace and blessings of Allah be upon him) said: "The Quran was revealed in seven ahruf (modes/dialects). Whichever of them you recite, it is sufficient for you."
حدثنا سفيان، عن عبيد الله، عن أبيه، عن أم أيوب، قالت : إن رسول الله صلى الله عليه وسلم قال: " نزل القرآن على سبعة أحرف، أيها قرأت أجزأك "