Public International Law (Vol. I & II)
Article 36
Consular officers shall be free to communicate with nationals of the sending State and to have access to them. If requested, the competent authorities of the receiving State shall, without delay, inform the consular post when a national is arrested, committed to prison, or otherwise detained, and the person concerned shall be informed without delay of these rights.