WHEN UNABLE TO PASS URINE DUE TO STONES IN THE BLADDER OR FOR ANY OTHER REASON.
When this happens recite the following Duaa:
"Raabu nallahullazi fis samaa, taqaddas mook, amruka fis samaai wal ardh, kama rahmatuka fis samaai faj `al rahmataka fil ardh wagh firlana hoobanaa wa khataayaanaa anta raabut tayyibeen fa anzil shifaa an min shifaa ika wa rahmatam mir rahmatika ala haathal waja"
Our Rabb is the one in the skies. Your name is pure. Your command prevails in the heavens and earth. Even as your mercy prevails in the heavens, let it prevail on the earth. Forgive our sins and shortcomings. You are the sustainer of the good and pure people. Do send down cure and mercy from their sources and remove this pain (of mine).
(Al Hisnul Haseen Pg 216)