The rectangular Temple 31 was built in the 6th or 7th century but reconstructed during the 10th or 11th century. It contains a well-executed image of Buddha, which may come from another temple as it doesn't exactly fit its pedestal.