This is correct.

If some one asks us whom do you love the most should we say first Allah and then prophet Muhammad (salla Allahu alaihi wa sallam)?