Maliks Muwatta Book 9, Hadith Number 47.
Section : Straightening the Rows.
Yahya related to me from Malik from Nafi that Umar ibn al-Khattab used to order the rows to be straightened, and when they had come to him and told him that the rows were straight he would say the takbir.