Uttar Pradesh Congress chief Ajay Rai had travelled to Ayodhya with a Congress delegation for a scheduled visit to the Ram Janmabhoomi temple.