Musjid

Non-Muslim donating money towards the building of a Musjid

Q:

1) If a non-muslim ( hindu or christian, etc ) gives money towards the building of a mosque, is it acceptable?

2) If the whole project of building a mosque has been financed by a non-muslim, can we pray in such a mosque? Will our prayers be acceptable?

3) If a non-muslim has financed the building of a madrasah, or some classes of that madrasah, is that acceptable? Can our children learn there?

Passing wind in the Musjid

Q: I sat in i'tikaaf this year alhumdulillah. But my question is approximately every 15-20 minutes I needed to past wind (due to digestive problems). It was very hard for me to pray taraweeh and the other salaahs but Alhumdulillah I managed. So will I get sin for passing wind in masjid?