Sahih al-Bukhari 699 - If the Imam has not had the intention of leading the prayer and then some persons join him and he leads them | Criterion