A process is provided for producing pyridine and/or alkylpyridine compounds comprising reacting a feedstream of ammonia and at least one C1-5 carbonyl reactant under conversion conditions and in the presence of a phosphorus-modified molecular sieve containing catalyst to produce a product stream having a pyridine and/or a pyridine based compound selected from alkylpyridines or polyalkylpyridines. The catalyst has improved attrition resistance without affecting catalyst activity or selectivity.