Abu Ja'far, Imam Muhammad ibn Ali Al-Baqir عليه السلام, said: "It is more beloved to me to pray after the time (for prayer) has passed than to pray while I am in doubt about whether it is the correct time or before the time (for prayer) has entered."