بسم الله الرحمن الرحيم
(Fatwa: 569/534/SN=08/1436)
If the cloth is smeared with urine measuring more than the deep part of the palm then salah shall not be valid with it. So in the case mentioned above whether you use toilet paper or cloth, but while going to offer salah you should put it aside instead of keeping it in your pocket. Also you should not carry this impure cloth in the mosque. It is stated in Halabi Kabiri:
جلد كلب التزق بجراحة في الرأس يعيد ما صلى به (منية) أي بذلك الجلد إذا كان أكثر من قدر الدرهم وحده أوبانضمام نجاسة أخرى …… وإن صلى ومعه سنور أو حية ….تجوز صلاته مطلقا إن جلس بنفسه وإذا لم يكن على ظاهره نجاسة مانعة إن حمله ، أما إن كان عليه نجاسة مانعة إذ ذاك فلا تجوز كما لو حمل صبياً لا يستمسك بنفسه وفي ثيابه أو بدنه نجاسة مانعة ؛ لأنه حينئذ هو الحامل للنجاسة الخ (حلبي كبير، ص: 191 ، ط: اشرفى)
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband