Use INDIRECT()
=INDIRECT("'"&ROW(A1)&"'!M1")
Drag Fill Down.

Or on these lines
=INDIRECT("'Sheet"&ROW(A1)&"'!M1")