What is the ruling on smoking?
All Perfect Praise is due to Allah, The Lord of The Worlds
Smoking is forbidden (Haram) since it is harmful to one`s health as confirmed by trustful physicians, and Islam has forbidden taking anything that causes harm. The Prophet (PBUH) said: "There should be neither harm nor reciprocated harm." [Ibn Majah and Ahmad]. And Allah Knows Best.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.
Is it permissible for a woman who broke fasting due to a delivery to pay a ransom?
She should make up for the missed fasting days once she becomes ritually pure, but it is impermissible for her to pay a ransom while being able to fast.
Is it permissible for a Muslim to escort his deceased disbelieving relative to his final resting place?
It is permissible provided that he doesn`t walk behind non-Islamic symbols, rather he should walk in front of them.