The elephant clock was a medieval invention by al-Jazari (1136–1206), consisting of a weight powered water clock in the form of an Asian elephant.
An ingenious man called al-Jazari from Diyarbakir in South-East Turkey was a pious Muslim and a highly skilled engineer who gave birth to the concept of automatic machines. By 1206, al-Jazari had made numerous clocks of all shapes and sizes.
Just as we need time today to structure our lives, so did Muslims over seven hundred years ago. Al-Jazari was sticking to the long Muslim tradition of clock-making. They knew it was important to know the time so it could be used well through doing good deeds: knowing when to pray at the right time each day and announce the call to prayer in mosques.