Ibn Sirin (may Allah have mercy on him) said that Ka'b bin Sur (may Allah have mercy on him) took a Jew into the synagogue, placed the Torah on his head and made him swear by Allah. It is mentioned from al-Ash'ari (may Allah be pleased with him) that the Jews were made to take the oath in the synagogue.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20718