From him from Al-Barqi from Ibn Abi Umayr from Hisham ibn Al-Hakam:
Abu Abdillah عليه السلام, peace be upon him, said: "There is no prayer for one who is holding in urine or one who is holding in feces, and he is in the position of someone who is relieving himself in his garment."
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 2, p. 357