Is it permissible for a person who had vowed to give a certain amount of money to another, but didn`t find the latter to donate that money to the mosque?
In principle, the vowing person should abide by his vow as much as possible. Therefore, if he couldn`t find the person that he had made the vow for, then the vow itself is countless and nothing is due on its maker. However, if the latter happens to find the former later on then, he has to give him that money.
Is it permissible for a person who has to make up for missed fasts to fast six days of Shawwal (the month directly after Ramadan) before making up for the missed fasts?
Yes, it is permissible for him/her to do so, but it is better that they make up for missed fasts first. And Allah Knows Best.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
I prayed while I was in the hospital after a bladder surgery, and my urine was connected to me and could not be disconnected that day. I prayed after performing tayammum with my finger because I was unable to stand. What is the ruling?
After Allah grants you complete healing, make up the prayers you performed with your finger to the best of your ability, at times that suit you. And Allah Knows Best.