But according to federal documents, records and terrorism investigators, the mosque also has a history of attendees and members who have had ties to al-Qaeda, Hamas and other radical Islamic groups ??? including some convicted of terrorism-related crimes.