الحسين بن سعيد عن ابن ابي عمير عن حماد عن ابن ابي شعبة قال: قلت لابي عبد الله عليه السلام رجل صام في السفر فقال: إن كان بلغه أن رسول الله صلى الله عليه وآله نهى عن ذلك فعليه القضاء، وان لم يكن بلغه فلا شئ عليه
Al-Husayn ibn Sa’id, from Ibn Abi Umayr, from Hammad, from Ibn Abi Shu’bah, said:
I (narrator) said to Abu Abdillah عليه السلام, peace be upon him: “A man fasted while travelling.” Imam عليه السلام said: “If it had reached him that the Messenger of Allah سبحانه وتعالى, may Allah سبحانه وتعالى bless him and his family, forbade that, then upon him is making it up; And if it had not reached him, then there is nothing upon him.”
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 4, p. 288