Usings a kaafirs money for the 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?