The Book of Occultation — al-Ṭūsī · Hadith 758 (#Ḥadīth #7)
Chapter 52 | Some Qualities, practices and manners of the Master of the Age
489- عنه، عن موسى بن سعدان، عن عبدالله بن القاسم الحضرمي، عن أبي سعيد الخراساني قال: قلت لابي عبدالله عليه السلام: المهدي والقائم واحد؟ فقال: نعم. فقلت: لأي شيء سمي المهدي؟ قال: لأنه يهدي إلى كل أمر خفي، وسمي القائم لأنه يقوم بعدما يموت، إنه يقوم بأمر عظيم.
H 489 - It is narrated from Fadhl from Musa bin Sadan from Abdullah bin Qasim Hadhrami from Abi Saeed Khurasani that he said: I asked Imam Ja’far Sadiq , “Is the Mahdi and the Qaim the same?” He said: “Yes.” I asked, “Why is he named the Mahdi?” He said: “Because he will be guided to every hidden matter; and he is named Qaim, because he will rise after his name dies. He will establish a mighty enterprise.”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).