Twelve imams determined by Allah
Kitāb al-Ghayba|Volume 1|Book 2|Chapter 4
32 - أخبرنا محمد بن عثمان قال: حدثنا ابن أبي خيثمة، قال: حدثني علي بن الجعد، قال: حدثنا زهير بن معاوية، عن زياد بن علاقة وسماك بن حرب وحصين بن عبد الرحمن كلهم عن جابر بن سمرة أن رسول الله قال: يكون بعدي اثنا عشر خليفة. ثم تكلم بشيء لم أفهمه فقال بعضهم: سألت القوم فقالوا قال: كلهم من قريش.
(32) Muhammad bin Uthman narrated from ibn Abu Olaqa, Sammak bin Harb and Hussayn bin Khaythama from Ali bin al-Ja’d from Zuhayr bin Mo’awiya from Ziyad bin Abdurrahman from Jabir bin Samra that the Prophet صلى الله عليه وعلى آله وسلم had said: “There will be twelve caliphs after me.” Then he (the Prophet صلى الله عليه وعلى آله وسلم) said something that I could not understand. Some people said that the Prophet صلى الله عليه وعلى آله وسلم had said: “All of them are from Quraysh.”