From Sahih Muslim (Hadith 2511):
Ibn 'Umar (may Allah be pleased with both of them) reported Allah's Apostle as saying:We are an unlettered people who can neither write nor count. The month is thus, and thus. folding his thumb when he said it the third time
Reference: Muslim 2511